Skip to content

Commit ababdc7

Browse files
Merge pull request #932 from danielmarbach/fxcop
Add FxCop with only ConfigureAwait rule enabled for now
2 parents 275b4eb + 66e85c1 commit ababdc7

File tree

5 files changed

+240
-3
lines changed

5 files changed

+240
-3
lines changed

projects/RabbitMQ.Client/RabbitMQ.Client.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
2828
<PackageOutputPath>..\..\packages</PackageOutputPath>
2929
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
30+
<CodeAnalysisRuleSet>RabbitMQ.ruleset</CodeAnalysisRuleSet>
3031
</PropertyGroup>
3132

3233
<PropertyGroup Condition="'$(CONCOURSE_CI_BUILD)' == 'true'">
@@ -53,6 +54,7 @@
5354
</ItemGroup>
5455

5556
<ItemGroup>
57+
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.0" PrivateAssets="None" />
5658
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" />
5759
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
5860
<PackageReference Include="MinVer" Version="2.3.0" PrivateAssets="All" />

0 commit comments

Comments
 (0)