Hi, for me the 'solution (if we can name that..) is to just add using to namespace.
I don't know how does it work in more complex solutions - probably pain in the ... but it works for me.
Just add usings on the top of the file.
It looks like the _Imports.razor is not working as should be for IDE extension. (For build it's ok)
Attached screenshot before and after using.
What's more interesting after additional using i can remove it after build and IDE looks fixed for all other usings... really weird
Copied from https://github.com/microsoft/vscode-dotnettools/issues/49#issuecomment-2239902160
Hi, for me the 'solution (if we can name that..) is to just add using to namespace. I don't know how does it work in more complex solutions - probably pain in the ... but it works for me.
Just add usings on the top of the file.
It looks like the _Imports.razor is not working as should be for IDE extension. (For build it's ok)
Attached screenshot before and after using.
What's more interesting after additional using i can remove it after build and IDE looks fixed for all other usings... really weird