Skip to content

Commit

Permalink
Do not use MSBuild's Exists condition function with wildcards.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeago committed Aug 15, 2022
1 parent 223915b commit c0580a4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/PolyKit.Embedded/build/PolyKit.Embedded.targets
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
<Project>

<!--
The condition will be false when importing this file in a project of the PolyKit solution.
It will always be true when referencing PolyKit.Embedded as a package.
-->
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)Polyfills\*.cs"
Condition="Exists('$(MSBuildThisFileDirectory)Polyfills\*.cs')"
Visible="false" />
</ItemGroup>

Expand Down

0 comments on commit c0580a4

Please sign in to comment.