From fdf1c4e62baa7cc1012f52c9afa46c9581a0a054 Mon Sep 17 00:00:00 2001 From: webwarrior Date: Thu, 8 Feb 2024 11:03:13 +0100 Subject: [PATCH] Enable TreatWarningsAsErrors Enable TreatWarningsAsErrors in Directory.Build.props. Exception is CS8981 (lowercase type names) because it is triggered by auto-generated protobuf types. --- Directory.Build.props | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Directory.Build.props diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..4d75506 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,6 @@ + + + true + $(WarningsNotAsErrors);CS8981 + +