From 07811c8b7e6ce3c4f7ec645d26f91962c93c1493 Mon Sep 17 00:00:00 2001 From: xtqqczze Date: Thu, 22 Oct 2020 19:44:55 +0100 Subject: [PATCH 1/4] Add Analyzers.props --- Analyzers.props | 9 +++++++++ PowerShell.Common.props | 1 + test/Test.Common.props | 2 ++ 3 files changed, 12 insertions(+) create mode 100644 Analyzers.props diff --git a/Analyzers.props b/Analyzers.props new file mode 100644 index 00000000000..a5f24aa2c17 --- /dev/null +++ b/Analyzers.props @@ -0,0 +1,9 @@ + + + $(MSBuildThisFileDirectory)CodeAnalysis.ruleset + true + + + + + diff --git a/PowerShell.Common.props b/PowerShell.Common.props index d8fb6aa59bb..e59a758bfb0 100644 --- a/PowerShell.Common.props +++ b/PowerShell.Common.props @@ -1,4 +1,5 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From dd88712f4f24694d641bad041cda19282f6a5df5 Mon Sep 17 00:00:00 2001 From: xtqqczze Date: Fri, 23 Oct 2020 14:11:12 +0100 Subject: [PATCH 3/4] Remove unnecessary PackageReference --- Analyzers.props | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Analyzers.props b/Analyzers.props index a5f24aa2c17..9d617deffc9 100644 --- a/Analyzers.props +++ b/Analyzers.props @@ -1,9 +1,5 @@ $(MSBuildThisFileDirectory)CodeAnalysis.ruleset - true - - - From be5c5c365b1e18aeb0f1167d0270bb5babeff90a Mon Sep 17 00:00:00 2001 From: xtqqczze Date: Fri, 23 Oct 2020 14:11:44 +0100 Subject: [PATCH 4/4] test! should break build --- CodeAnalysis.ruleset | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeAnalysis.ruleset b/CodeAnalysis.ruleset index d68fc494bf5..eddf69c0c2a 100644 --- a/CodeAnalysis.ruleset +++ b/CodeAnalysis.ruleset @@ -1,7 +1,7 @@ - +