Search code examples
c#visual-studiovisual-studio-2019using-directives

Is there a setting that enables 'Fade Unused Usings' and 'Remove and Sort Usings' per project in Visual Studio 2019?


I have a solution with multiple projects. Since some point in time the unused usings is not fading anymore nor does the Remove and Sort Usings command work in ONE of the projects while still working as expected in the others.

Is there some settings or otherwise that can fix this?

Things I've tested so far:

  • Reset the checkbox in settings for "fade unsed usings",
  • Deleted the .vs folder

Two boilerplate classes created in different projects in same solution, opened side-by-side:


Solution

  • This issue has solved it self since I've upgraded to SDK style project and installed a couple of VS updates (16.4.5 currently)