From 33ca1ba2ac6d4872b9b63a735ae15a0ee39bfcc4 Mon Sep 17 00:00:00 2001 From: webwarrior Date: Thu, 8 Feb 2024 11:03:13 +0100 Subject: [PATCH] GrpcService: enable TreatWarningsAsErrors Enable TreatWarningsAsErrors in GrpcService project. Exception is CS8981 (lowercase type names) because it is triggered by auto-generated protobuf types. --- src/FX.GrpcService/FX.GrpcService.csproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/FX.GrpcService/FX.GrpcService.csproj b/src/FX.GrpcService/FX.GrpcService.csproj index dc1a0b2..741a0ca 100644 --- a/src/FX.GrpcService/FX.GrpcService.csproj +++ b/src/FX.GrpcService/FX.GrpcService.csproj @@ -4,6 +4,8 @@ net8.0 enable enable + true + $(WarningsNotAsErrors);CS8981