Skip to content

Commit b7720df

Browse files
committed
Remove warnings as errors for vulnerabilities
1 parent 462329e commit b7720df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
<NuGetCmd>$(NuGetRoot)nuget.exe</NuGetCmd>
6565
<!-- Respect environment variable for the .NET install directory if set; otherwise, use the current default location -->
6666
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
67+
<WarningsNotAsErrors>$(WarningsNotAsErrors);NU1901;NU1902;NU1903;NU1904;NU1905</WarningsNotAsErrors>
6768
<BuildSimulator Condition="'$(BuildSimulator)' != 'true'">false</BuildSimulator>
6869
</PropertyGroup>
6970
<PropertyGroup Condition="'$(BuildSimulator)' == 'true'">

0 commit comments

Comments
 (0)