Skip to content

Commit

Permalink
Replace AsyncUsageAnalyser with Microsoft.VisualStudio.Threading.Anal…
Browse files Browse the repository at this point in the history
…yzers

AsyncUsageAnalyser is not under active maintaince and it's kinda deprecated and has not updated since years. Microsoft.VisualStudio.Threading.Analyzers is added as an replacement for it. This might cause new warnings.

NancyFx#3007
  • Loading branch information
Ali Bahrami committed Mar 11, 2020
1 parent 0a6cce0 commit d0f2e04
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="AsyncUsageAnalyzers" Version="1.0.0-alpha003">
<PrivateAssets>All</PrivateAssets>
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="16.5.132">
<PrivateAssets>True</PrivateAssets>
</PackageReference>
</ItemGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0'
OR '$(TargetFramework)' == 'netstandard2.1'">
<DefineConstants>$(DefineConstants);CORE</DefineConstants>
</PropertyGroup>

Expand Down

0 comments on commit d0f2e04

Please sign in to comment.