From 394a22ee5add253a83a6342703ae07b79dc36198 Mon Sep 17 00:00:00 2001 From: Dustin Campbell Date: Wed, 23 Oct 2024 11:21:54 -0700 Subject: [PATCH 1/4] Version Roslyn.Diagnostics.Analzyers package separately --- Directory.Packages.props | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 02c9a790a75..0635f6e13f3 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -14,6 +14,7 @@ <_BenchmarkDotNetPackageVersion>0.13.5.2136 <_MicrosoftVisualStudioExtensibilityTestingVersion>0.1.187-beta <_MicrosoftCodeAnalysisAnalyzersPackageVersion>3.11.0-beta1.24170.2 + <_RoslynDiagnosticAnalyzersPackageVersion>3.11.0-beta1.24170.2 <_MicrosoftVisualStudioLanguageServicesPackageVersion>$(MicrosoftVisualStudioLanguageServicesPackageVersion) <_XunitPackageVersion>2.6.3 <_MicrosoftBuildPackageVersion>17.11.0-preview-24309-01 @@ -106,7 +107,7 @@ - + From f1b794cc78270c8c6f56cd518d5247eb66c06d93 Mon Sep 17 00:00:00 2001 From: Dustin Campbell Date: Wed, 23 Oct 2024 11:25:30 -0700 Subject: [PATCH 2/4] Don't reference MS.CA.BannedApiAnalyzers package directly The BannedApiAnalyzers package is a dependency of Roslyn.DiagnosticAnalyzers, so we get a reference to it transitively. --- Directory.Packages.props | 1 - src/Analyzers/Directory.Build.props | 1 - src/Compiler/Directory.Build.props | 1 - src/Razor/Directory.Build.props | 1 - src/Shared/Directory.Build.props | 1 - 5 files changed, 5 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 0635f6e13f3..77172217b75 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -35,7 +35,6 @@ - diff --git a/src/Analyzers/Directory.Build.props b/src/Analyzers/Directory.Build.props index d27caa04acd..29220e70368 100644 --- a/src/Analyzers/Directory.Build.props +++ b/src/Analyzers/Directory.Build.props @@ -16,7 +16,6 @@ - diff --git a/src/Compiler/Directory.Build.props b/src/Compiler/Directory.Build.props index a88dd817d68..5ccae761ffa 100644 --- a/src/Compiler/Directory.Build.props +++ b/src/Compiler/Directory.Build.props @@ -39,7 +39,6 @@ - - - Date: Wed, 23 Oct 2024 12:36:47 -0700 Subject: [PATCH 3/4] Update MS.CA.Analyzers package to 3.11.0 --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 77172217b75..56ee514b475 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -13,7 +13,7 @@ <_BasicReferenceAssembliesVersion>1.7.2 <_BenchmarkDotNetPackageVersion>0.13.5.2136 <_MicrosoftVisualStudioExtensibilityTestingVersion>0.1.187-beta - <_MicrosoftCodeAnalysisAnalyzersPackageVersion>3.11.0-beta1.24170.2 + <_MicrosoftCodeAnalysisAnalyzersPackageVersion>3.11.0 <_RoslynDiagnosticAnalyzersPackageVersion>3.11.0-beta1.24170.2 <_MicrosoftVisualStudioLanguageServicesPackageVersion>$(MicrosoftVisualStudioLanguageServicesPackageVersion) <_XunitPackageVersion>2.6.3 From 84c7c1d5fc2298241c98e9461f1295878337d90b Mon Sep 17 00:00:00 2001 From: Dustin Campbell Date: Wed, 23 Oct 2024 12:43:50 -0700 Subject: [PATCH 4/4] Update Roslyn.Diagnostics.Analyzers package to latest version --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 56ee514b475..8be9b068bf1 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -14,7 +14,7 @@ <_BenchmarkDotNetPackageVersion>0.13.5.2136 <_MicrosoftVisualStudioExtensibilityTestingVersion>0.1.187-beta <_MicrosoftCodeAnalysisAnalyzersPackageVersion>3.11.0 - <_RoslynDiagnosticAnalyzersPackageVersion>3.11.0-beta1.24170.2 + <_RoslynDiagnosticAnalyzersPackageVersion>3.11.0-beta1.24508.2 <_MicrosoftVisualStudioLanguageServicesPackageVersion>$(MicrosoftVisualStudioLanguageServicesPackageVersion) <_XunitPackageVersion>2.6.3 <_MicrosoftBuildPackageVersion>17.11.0-preview-24309-01