Skip to content

Commit abde065

Browse files
authored
Merge pull request #296 from pascalberger/feature/netanalyzer
Migrate from FxCop analyzers to NETAnalyzers
2 parents 963215f + 75f1bc3 commit abde065

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Cake.AzureDevOps/Cake.AzureDevOps.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<PropertyGroup>
88
<DebugType>full</DebugType>
99
<DebugSymbols>true</DebugSymbols>
10+
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
1011
<CodeAnalysisRuleSet>..\Cake.AzureDevOps.ruleset</CodeAnalysisRuleSet>
1112
</PropertyGroup>
1213

@@ -37,7 +38,10 @@
3738

3839
<ItemGroup>
3940
<PackageReference Include="Cake.Core" Version="1.0.0" PrivateAssets="All" />
40-
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.1" PrivateAssets="All" />
41+
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="5.0.3">
42+
<PrivateAssets>all</PrivateAssets>
43+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
44+
</PackageReference>
4145
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
4246
<PackageReference Include="Microsoft.TeamFoundationServer.Client" Version="16.143.2" PrivateAssets="All" />
4347
<PackageReference Include="Microsoft.VisualStudio.Services.InteractiveClient" Version="16.143.2" PrivateAssets="All" />

0 commit comments

Comments
 (0)