Skip to content

Commit 145b474

Browse files
committed
#1053: exclude the NCrunch-required ItemGroup when NCrunch is not installed
1 parent 27e9f3d commit 145b474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersionTask/NugetAssets/GitVersionTask.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
</Target>
8080

8181
<!--Support for ncrunch-->
82-
<ItemGroup>
82+
<ItemGroup Condition=" $(NCrunch) != '' ">
8383
<None Include="$(MSBuildThisFileDirectory)..\..\GitVersionTask.dll">
8484
<Visible>False</Visible>
8585
</None>

0 commit comments

Comments
 (0)