Skip to content

Commit

Permalink
Add an analyzer reference for Humanizer to avoid analyzer load failures
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed Aug 31, 2020
1 parent 61165d5 commit 73b5cb4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions eng/targets/Imports.targets
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,19 @@
Condition="'%(Filename)' == 'Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes'
OR '%(Filename)' == 'Microsoft.VisualStudio.Threading.Analyzers.CodeFixes'"/>
</ItemGroup>

<!--
Explicitly reference Humanizer prior to https://github.com/dotnet/roslyn/pull/47297

This comment has been minimized.

Copy link
@mavasani

mavasani Aug 31, 2020

Contributor

Please file a tracking issue to revert this change.

This comment has been minimized.

Copy link
@sharwell

sharwell Aug 31, 2020

Author Member

Filed #47306

-->
<ItemGroup>
<Analyzer Include="$(NuGetPackageRoot)\humanizer.core\$(HumanizerCoreVersion)\lib\netstandard1.0\Humanizer.dll" />
</ItemGroup>
</Target>

<ItemGroup>
<PackageDownload Include="Humanizer.Core" Version="[$(HumanizerCoreVersion)]" />
</ItemGroup>

<!--
This target is used to copy referenced projects to a sub-directory vs. the direct output
directory of the build. Useful when the referenced project is an EXE and the referencing
Expand Down

0 comments on commit 73b5cb4

Please sign in to comment.