Skip to content

Commit

Permalink
GrpcService: enable TreatWarningsAsErrors
Browse files Browse the repository at this point in the history
Enable TreatWarningsAsErrors in GrpcService project. Exception
is CS8981 (lowercase type names) because it is triggered by
auto-generated protobuf types.
  • Loading branch information
webwarrior-ws committed Feb 8, 2024
1 parent 2e29c02 commit 33ca1ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/FX.GrpcService/FX.GrpcService.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsNotAsErrors>$(WarningsNotAsErrors);CS8981</WarningsNotAsErrors>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 33ca1ba

Please sign in to comment.