Skip to content

Commit d9504fd

Browse files
committed
Apply new VS code analysis version globally
1 parent a10e960 commit d9504fd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

eng/SourceBuildPrebuiltBaseline.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<UsagePattern IdentityGlob="System.Composition*/*6.*" />
1010
<UsagePattern IdentityGlob="System.Composition*/*7.*" />
1111
<UsagePattern IdentityGlob="Microsoft.CodeAnalysis*/*4.4.*" />
12-
<UsagePattern IdentityGlob="Microsoft.CodeAnalysis*/*4.5.*" />
12+
<UsagePattern IdentityGlob="Microsoft.CodeAnalysis*/*4.7.*" />
1313

1414
<!-- Allowed and pinned to major version due to https://github.com/dotnet/source-build/issues/3228 -->
1515
<UsagePattern IdentityGlob="Microsoft.NETCore.App.Crossgen2.linux-x64/*8.*" />

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
Source-build builds the product with the most recent previously source-built release. Thankfully, these two requirements line up nicely
6969
such that any version that satisfies the VS version requirement will also satisfy the .NET SDK version requirement because of how we ship.
7070
-->
71-
<MicrosoftCodeAnalysisVersion_LatestVS>4.5.0</MicrosoftCodeAnalysisVersion_LatestVS>
71+
<MicrosoftCodeAnalysisVersion_LatestVS>4.7.0-3.23314.3</MicrosoftCodeAnalysisVersion_LatestVS>
7272
<!-- Some of the analyzer dependencies used by ILLink project -->
7373
<MicrosoftCodeAnalysisBannedApiAnalyzersVersion>3.3.5-beta1.23270.2</MicrosoftCodeAnalysisBannedApiAnalyzersVersion>
7474
</PropertyGroup>

src/libraries/Microsoft.Extensions.Configuration.Binder/gen/Microsoft.Extensions.Configuration.Binder.SourceGeneration.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.7.0-3.23314.3" PrivateAssets="all" />
13+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="$(MicrosoftCodeAnalysisVersion_LatestVS)" PrivateAssets="all" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

0 commit comments

Comments
 (0)