File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change 2222 <ImplicitUsings >enable</ImplicitUsings >
2323 <Nullable >enable</Nullable >
2424
25+ <EnableNETAnalyzers >True</EnableNETAnalyzers >
26+ <!-- Latest = version of the analyzers included in latest installed SDK -->
27+ <AnalysisLevel >latest</AnalysisLevel >
28+ <EnforceCodeStyleInBuild >True</EnforceCodeStyleInBuild >
29+
2530 </PropertyGroup >
2631 <PropertyGroup >
2732 <PackageVersion_LibGit2Sharp >0.27.0-preview-0175</PackageVersion_LibGit2Sharp >
4146 <PackageVersion_NUnit3TestAdapter >4.2.1</PackageVersion_NUnit3TestAdapter >
4247 <PackageVersion_NunitXmlTestLogger >3.0.117</PackageVersion_NunitXmlTestLogger >
4348 <PackageVersion_Shouldly >4.0.3</PackageVersion_Shouldly >
44-
45- <PackageVersion_MicrosoftCodeStyle >4.0.1</PackageVersion_MicrosoftCodeStyle >
46- <PackageVersion_MicrosoftNetAnalyzers >6.0.0</PackageVersion_MicrosoftNetAnalyzers >
4749 </PropertyGroup >
4850
4951 <ItemGroup Condition =" '$(IsTestProject)' == 'true' " >
9294 <SkipDefaultEditorConfigAsAdditionalFile >true</SkipDefaultEditorConfigAsAdditionalFile >
9395 </PropertyGroup >
9496
95- <!-- Common code quality and styling analyzers -->
96- <ItemGroup >
97- <PackageReference Include =" Microsoft.CodeAnalysis.CSharp.CodeStyle" Version =" $(PackageVersion_MicrosoftCodeStyle)" >
98- <PrivateAssets >all</PrivateAssets >
99- <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
100- </PackageReference >
101- <PackageReference Include =" Microsoft.CodeAnalysis.NetAnalyzers" Version =" $(PackageVersion_MicrosoftNetAnalyzers)" >
102- <PrivateAssets >all</PrivateAssets >
103- <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
104- </PackageReference >
105- </ItemGroup >
10697</Project >
You can’t perform that action at this time.
0 commit comments