|
|
@@ -18,13 +18,15 @@
|
|
|
<WriteVersionInfoToBuildLog>false</WriteVersionInfoToBuildLog>
|
|
|
<IncludeSymbols>false</IncludeSymbols>
|
|
|
<IsTestProject>$(MSBuildProjectName.Contains('Test'))</IsTestProject>
|
|
|
+
|
|
|
+ <GetVersion Condition=" '$(NCrunch)' != '' ">false</GetVersion>
|
|
|
</PropertyGroup>
|
|
|
|
|
|
<ItemGroup>
|
|
|
<PackageReference Include="GitVersionTask" Version="4.0.0-beta0011" PrivateAssets="All" />
|
|
|
</ItemGroup>
|
|
|
|
|
|
- <ItemGroup Condition="'$(IsTestProject)' != 'true'">
|
|
|
+ <ItemGroup Condition="'$(IsTestProject)' != 'true' and '$(NCrunch)' == '' ">
|
|
|
<PackageReference Include="SourceLink.Create.GitHub" Version="2.0.2" PrivateAssets="All" />
|
|
|
<DotNetCliToolReference Include="dotnet-sourcelink-git" Version="2.0.2" />
|
|
|
</ItemGroup>
|