Skip to content

Commit 056b955

Browse files
Set "TreatWarningsAsErrors" before NuGet restore
* Ensures our build stays clean of NuGet warnings
1 parent 0993f46 commit 056b955

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

build/common.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<SignAssembly>true</SignAssembly>
1111
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
1212
<VersionSuffix Condition="'$(VersionSuffix)'!='' AND '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
13+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1314
</PropertyGroup>
1415

1516
<ItemGroup>

0 commit comments

Comments
 (0)