C#/.NET - VSCode workspace incorrectly marking using directives as unnecessary

3 weeks ago 16
ARTICLE AD BOX

I have the C# Dev Kit extension installed, and did generic troubleshooting like restarting vscode. But keep getting the result of using statements being faded out and marked as unnecessary, even though when I delete them, the dotnet build errors about the using being missing. See pictures:

vscode showing using directive as unnecessary

Then, after deleting it and trying to build:

Using directive missing error on dotnet build

Read Entire Article