Skip to content

Commit 65bde51

Browse files
authored
Pin to S.T.J 8.0.5 in Analyzers (#59777)
1 parent ba957a9 commit 65bde51

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

eng/Versions.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@
200200
<MicrosoftVSSDKBuildToolsVersion>15.9.3032</MicrosoftVSSDKBuildToolsVersion>
201201
<!-- Manually updated version from 6.0.0 to address CVE-2021-43877 -->
202202
<RepoTasksSystemSecurityCryptographyXmlVersion>6.0.1</RepoTasksSystemSecurityCryptographyXmlVersion>
203+
<AnalyzersSystemTextJsonVersion>8.0.5</AnalyzersSystemTextJsonVersion>
203204
<!-- Stable dotnet/corefx packages no longer updated for .NET Core 3 -->
204205
<MicrosoftCSharpVersion>4.7.0</MicrosoftCSharpVersion>
205206
<MicrosoftWin32RegistryVersion>5.0.0</MicrosoftWin32RegistryVersion>

src/Framework/AspNetCoreAnalyzers/src/Analyzers/Microsoft.AspNetCore.App.Analyzers.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@
99
<RootNamespace>Microsoft.AspNetCore.Analyzers</RootNamespace>
1010
<SuppressNullableAttributesImport>true</SuppressNullableAttributesImport>
1111
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
12+
<DisablePackageReferenceRestrictions>true</DisablePackageReferenceRestrictions>
1213
</PropertyGroup>
1314

1415
<ItemGroup>
1516
<Reference Include="Microsoft.CodeAnalysis.CSharp" PrivateAssets="All" />
1617
<Reference Include="Microsoft.CodeAnalysis.ExternalAccess.AspNetCore" />
1718

19+
<PackageReference Include="System.Text.Json" Version="$(AnalyzersSystemTextJsonVersion)" />
20+
1821
<InternalsVisibleTo Include="Microsoft.AspNetCore.App.Analyzers.Test" />
1922
<InternalsVisibleTo Include="Microsoft.AspNetCore.App.CodeFixes" />
2023
</ItemGroup>

0 commit comments

Comments
 (0)