Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,9 @@

<ItemGroup Condition="'$(PlatformPackageType)' == 'RuntimePack'">
<IgnoredReference Include="@(RuntimePackAsset->'%(FileName)')" />
<!-- Ignore inboxed analyzers -->
<IgnoredReference Include="@(Reference->'%(FileName)')"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Analyzers shouldn’t be raised as references. They are not listed as references in the framework list. This is only happening because you are making an old SDK use a new ref pack. This can go away once you pick up a Preview7 SDK with dotnet/sdk@07768a0#diff-1b35791f7e51f6b95005b2fb7aa5e65ceca0d11578158af081003c91d97b4373R80

This workaround Is fine for now, but please delete it once you update the SDK.

Condition="$([System.String]::Copy('%(FullPath)').IndexOf('analyzers')) > 0"/>
</ItemGroup>

<ItemGroup Condition="'$(PlatformPackageType)' == 'TargetingPack'">
Expand Down