mirror of
https://github.com/bitwarden/server
synced 2025-12-24 04:03:25 +00: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:
@@ -1,5 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- Temp exclusions until warnings are fixed -->
|
||||
<WarningsNotAsErrors>$(WarningsNotAsErrors);CS8618;CS4014</WarningsNotAsErrors>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Core\Core.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user