Add SB linker patch

This commit is contained in:
Michael Simons 2023-01-12 03:09:48 +00:00
parent e4078dfce3
commit 2957a95ee6

View file

@ -0,0 +1,35 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Michael Simons <msimons@microsoft.com>
Date: Thu, 12 Jan 2023 03:04:27 +0000
Subject: [PATCH] Unpin Microsoft.CodeAnalysis.NetAnalyzers version
Backport: https://github.com/dotnet/linker/pull/3182
---
eng/Analyzers.props | 1 -
eng/Versions.props | 1 -
1 files changed, 2 deletions(-)
diff --git a/eng/Analyzers.props b/eng/Analyzers.props
index facf033c..37816d62 100644
--- a/eng/Analyzers.props
+++ b/eng/Analyzers.props
@@ -2,7 +2,6 @@
<ItemGroup Condition="'$(RunAnalyzers)' == 'true'">
<PackageReference Include="Microsoft.DotNet.CodeAnalysis" Version="$(MicrosoftDotNetCodeAnalysisVersion)" PrivateAssets="all" IsImplicitlyDefined="true" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeStyle" Version="$(MicrosoftCodeAnalysisCSharpCodeStyleVersion)" PrivateAssets="all" />
- <PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="$(MicrosoftCodeAnalysisNetAnalyzersVersion)" PrivateAssets="all" />
<!-- <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.205" PrivateAssets="all" /> -->
</ItemGroup>
diff --git a/eng/Versions.props b/eng/Versions.props
index 7b0aea6e..21861f23 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -25,7 +25,6 @@
<MicrosoftNetCompilersToolsetVersion>$(MicrosoftCodeAnalysisVersion)</MicrosoftNetCompilersToolsetVersion>
<MicrosoftCodeAnalysisCSharpAnalyzerTestingXunitVersion>1.0.1-beta1.*</MicrosoftCodeAnalysisCSharpAnalyzerTestingXunitVersion>
<MicrosoftCodeAnalysisBannedApiAnalyzersVersion>3.3.2</MicrosoftCodeAnalysisBannedApiAnalyzersVersion>
- <MicrosoftCodeAnalysisNetAnalyzersVersion>7.0.0-preview1.22513.1</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftILVerificationVersion>7.0.0-preview.7.22375.6</MicrosoftILVerificationVersion>
<!-- This controls the version of the cecil package, or the version of cecil in the project graph
when we build the cecil submodule. The reference assembly package will depend on this version of cecil.