mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 15:47:26 +00:00
Non-obsoletion warnings as errors in Release. (#42983)
* Non-obsoletion warnings as errors in Release. * Add two other obsoletions related to collection expressions. These are not present in the codebase, but may become so in the future. * Exempt NU1903 so the project can't mysteriously stop building. * Fix some FULL_RELEASE mistakes. * diff fix * Resharper caught this one. Note to self: Wire up resharper to CI in another PR.
This commit is contained in:
@@ -9,4 +9,9 @@
|
||||
<IsPackable Condition="'$(IsPackable)' == ''">false</IsPackable>
|
||||
<Nullable Condition="'$(Nullable)' == ''">enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<WarningsNotAsErrors>CS0618,CS0672,CS0612,CS1062,CS1064,NU1903</WarningsNotAsErrors>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user