project-system: Red "ignored" icon next to all analyzers through project reference

Version Used: VS2022 17.2.0

Steps to Reproduce:

  1. https://github.com/Sergio0694/ComputeSharp
  2. Open solution, build any of the samples (eg. ComputeSharp.Sample)
  3. Expand the analyzers node

Expected Behavior:

The analyzers from local projects should be displayed the same as the other ones.

Actual Behavior:

You should see a red “ignored” icon next to all local analyzers. I assume this come from the git tooling?

image

The icon doesn’t really make sense to me though given those generated files are not part of the repository/folder anyway. Also this wasn’t there before 17.2.0. Additionally, this doesn’t happen when the same analyzer is from a NuGet package.

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 6
  • Comments: 15 (9 by maintainers)

Most upvoted comments

So this red icon is a ghost we should ignore? What is the status of this issue?