You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure the LSP server is loaded after a solution is closed (#79048)
Needed for dotnet/razor#9519
Previously Roslyn would load its language server when the first solution
is opened in VS so that workspace diagnostics and other such
functionality works. When the solution is closed however, VS would shut
down the server and the user has to manually open a `.cs` file to get it
to re-load. This ensures it is reloaded on solution open.
This is also needed to unblock cohosting, and cohosting integration
tests as well, as without this, when a 2nd solution is opened in VS the
user has to open a `.cs` file before they'll get any tooling in a
`.razor` file, because Razor uses dynamic registration which can only
happen after the LSP server has been loaded.
0 commit comments