Skip to content

Commit f56f65e

Browse files
committed
Disable Nerdbank inside VS
1 parent c0c0515 commit f56f65e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<NoWarn>$(NoWarn);CS1998</NoWarn>
9595
</PropertyGroup>
9696

97-
<ItemGroup Condition="!$([MSBuild]::IsOsUnixLike())">
97+
<ItemGroup Condition="!$([MSBuild]::IsOsUnixLike()) and '$(BuildingInsideVisualStudio)'=='' ">
9898
<PackageReference Include="Nerdbank.GitVersioning" Version=" 2.1.65" PrivateAssets="all" />
9999
</ItemGroup>
100100

0 commit comments

Comments
 (0)