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
dibarbet
changed the title
Automatic restore is slow when there are many un-restored projects in the solution
Automatic restore is slow when there are many un-restored projects
Dec 11, 2023
The basic problem is that currently the server shells out to the CLI once per project - https://github.com/dotnet/roslyn/blob/main/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/LanguageServer/Handler/Restore/RestoreHandler.cs#L50
This can be quite a lot slower than restoring the entire solution in large solutions (for example Roslyn.sln).
Some potential improvements
The text was updated successfully, but these errors were encountered: