Skip to content

Commit 329773a

Browse files
committed
Stop producing non-version assembly attributes by default
This makes NB.GV compatible with .NET SDK out of the box.
1 parent 2039267 commit 329773a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nerdbank.GitVersioning.NuGet/build/NerdBank.GitVersioning.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<_NBGV_BuildingRef>$(_NBGV_BuildingTag)</_NBGV_BuildingRef>
4444
<_NBGV_BuildingRef Condition=" '$(_NBGV_BuildingRef)' == '' ">$(_NBGV_BuildingBranch)</_NBGV_BuildingRef>
4545
</PropertyGroup>
46-
<PropertyGroup Condition=" '$(NBGV_DoNotEmitNonVersionCustomAttributes)' != 'true' ">
46+
<PropertyGroup Condition=" '$(NBGV_EmitNonVersionCustomAttributes)' == 'true' ">
4747
<_NBGV_AssemblyTitle>$(AssemblyTitle)</_NBGV_AssemblyTitle>
4848
<_NBGV_AssemblyProduct>$(AssemblyProduct)</_NBGV_AssemblyProduct>
4949
<_NBGV_AssemblyCopyright>$(AssemblyCopyright)</_NBGV_AssemblyCopyright>

0 commit comments

Comments
 (0)