File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 88 <Nullable >enable</Nullable >
99 <LangVersion >10</LangVersion >
1010 </PropertyGroup >
11- <ItemGroup >
12- <PackageReference Include =" Microsoft.CodeAnalysis.NetAnalyzers" Version =" 8.0.0" >
11+ <ItemGroup Condition =" '$(TargetFramework)' != ''" >
12+ <!-- Disable for SDK 9 and above -->
13+ <PackageReference Include =" Microsoft.CodeAnalysis.NetAnalyzers"
14+ Version =" 8.0.0"
15+ Condition =" !$([MSBuild]::VersionGreaterThanOrEquals('$(NETCoreSdkVersion)', '9.0.100'))" >
1316 <PrivateAssets >all</PrivateAssets >
1417 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
1518 </PackageReference >
19+ </ItemGroup >
20+ <ItemGroup >
1621 <PackageReference Include =" Nullable" Version =" 1.3.1" >
1722 <PrivateAssets >all</PrivateAssets >
1823 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
You can’t perform that action at this time.
0 commit comments