Skip to content

Commit 2c2ac2c

Browse files
authored
Add TreatWarningsAsErrors property in documentation
1 parent c010288 commit 2c2ac2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/core/compatibility/sdk/8.0/dotnet-restore-audit.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ The properties mentioned in the recommended actions can be set either in your pr
3636
```xml
3737
<PropertyGroup>
3838
...
39+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3940
<WarningsNotAsErrors>NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
4041
</PropertyGroup>
4142
```

0 commit comments

Comments
 (0)