Open estenio12 opened 3 weeks ago
VSCode doesn't allow error messages to be hidden (intentional design decision on their side). I'm not 100% sure if it covers this case, but @estenio12 can you try enabling dotnet.server.suppressLspErrorToasts
in VSCode settings to see if that suppresses the toast?
Just an FYI - the error you're seeing indicates there was an issue loading the project. If that error is present you may see limited language feature support for anything that is a part of that project.
Hi @dibarbet!
I did what you recommended, but it didn't work. I checked the box and restarted vscode and it didn't work.
Image showed my setting:
Answering the question of explaining the problem you explained, what happens: The solution of this project has references from several other different projects, the configuration of task.json and launch.json are customized to execute only what I want to debug.
Maybe a solution for this problem is load sln of extension instead of using my custom launch.json, i will try latter.
Got it, we'll see if we can do something to suppress the project load notifications as well. But it likely won't happen immediately.
There are also a couple things you can do if you want the C# extension to ignore certain aspects of the projects when loading them, for example
First I checked vscode to not show me notifications from the extension, but it still continued to appear; Then I went and marked it to not show any notification, only notifications from this extension are going over my configuration and showing the notification.
The big problem is when the extension detects a problem, and then starts reporting the same error over and over again.
Image showing any notification is turned off:
Image showing C# extension notification is turned off:
Image showing my extension installed for C#: