1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

Turn on TreatWarningsAsError (#5384)

* Turn on TreatWarningsAsError for Release build

- Break Api intentionally

* Fix Api

* Treat warnings as errors no matter the configuration
This commit is contained in:
Justin Baur
2025-02-11 08:49:14 -05:00
committed by GitHub
parent bde11dae31
commit e01cace189
10 changed files with 25 additions and 0 deletions

View File

@ -2,6 +2,8 @@
<PropertyGroup>
<IsPackable>false</IsPackable>
<!-- Temp exclusions until warnings are fixed -->
<WarningsNotAsErrors>$(WarningsNotAsErrors);CS8620;CS0169</WarningsNotAsErrors>
</PropertyGroup>
<ItemGroup>