From 17ff66c61bde11093f66d7dca47ce4a12cdce89f Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Fri, 28 Aug 2020 23:12:09 +1000 Subject: [PATCH] Opt-in to .NET 5 SDK's extra static analysis, update Analyzer packages the extra CSxxxx rules should be available for Framework too if using the new SDK, I haven't tried --- Common.props | 1 + Common.ruleset | 9 +++++++++ src/BizHawk.Common/BizHawk.Common.csproj | 4 ++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Common.props b/Common.props index cfac721a93..c482127bbc 100644 --- a/Common.props +++ b/Common.props @@ -1,5 +1,6 @@ + 5 prompt 8.0 AnyCPU diff --git a/Common.ruleset b/Common.ruleset index ae3825787c..f48ce1e29a 100644 --- a/Common.ruleset +++ b/Common.ruleset @@ -122,6 +122,9 @@ + + + @@ -149,6 +152,9 @@ + + + @@ -191,6 +197,9 @@ + + + diff --git a/src/BizHawk.Common/BizHawk.Common.csproj b/src/BizHawk.Common/BizHawk.Common.csproj index 5916b503c2..7beab311cd 100644 --- a/src/BizHawk.Common/BizHawk.Common.csproj +++ b/src/BizHawk.Common/BizHawk.Common.csproj @@ -10,8 +10,8 @@ - - + +