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 22
22
<ImplicitUsings >enable</ImplicitUsings >
23
23
<Nullable >enable</Nullable >
24
24
25
+ <EnableNETAnalyzers >True</EnableNETAnalyzers >
26
+ <!-- Latest = version of the analyzers included in latest installed SDK -->
27
+ <AnalysisLevel >latest</AnalysisLevel >
28
+ <EnforceCodeStyleInBuild >True</EnforceCodeStyleInBuild >
29
+
25
30
</PropertyGroup >
26
31
<PropertyGroup >
27
32
<PackageVersion_LibGit2Sharp >0.27.0-preview-0175</PackageVersion_LibGit2Sharp >
41
46
<PackageVersion_NUnit3TestAdapter >4.2.1</PackageVersion_NUnit3TestAdapter >
42
47
<PackageVersion_NunitXmlTestLogger >3.0.117</PackageVersion_NunitXmlTestLogger >
43
48
<PackageVersion_Shouldly >4.0.3</PackageVersion_Shouldly >
44
-
45
- <PackageVersion_MicrosoftCodeStyle >4.0.1</PackageVersion_MicrosoftCodeStyle >
46
- <PackageVersion_MicrosoftNetAnalyzers >6.0.0</PackageVersion_MicrosoftNetAnalyzers >
47
49
</PropertyGroup >
48
50
49
51
<ItemGroup Condition =" '$(IsTestProject)' == 'true' " >
92
94
<SkipDefaultEditorConfigAsAdditionalFile >true</SkipDefaultEditorConfigAsAdditionalFile >
93
95
</PropertyGroup >
94
96
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 >
106
97
</Project >
You can’t perform that action at this time.
0 commit comments