Files
Delta-v/MSBuild/Content.props
T
Moony f421221a00 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.
2026-06-29 12:43:54 +02:00

18 lines
578 B
XML

<Project>
<!--
Content specific properties
Import *before* Robust.Properties.targets
-->
<PropertyGroup>
<LangVersion Condition="'$(LangVersion)' == ''">14</LangVersion>
<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>