long project startup time in new versions of C# extension (wait for number of projects to appear)
I'm using vs code + C# + "C# devkit" in last 4 months. After updating C# and C# dev kit extensions to their new versions, the project startup time dramatically increased. The vs code itself is ok but I have to wait a significant amount of time (around 3 min) for intellisence to start working. on this time in vs code bottom bar I see a loading icon after projects as shown in this picture:
and after that loading goes, number of projects appears and intelisense works.
I revert my C# extension version from 2.7.25 to 2.4.4 and the long waiting time reduced to 5 seconds.
Interesting - devkit is generally responsible for project loading - but if downgrading the C# extension version worked it sounds like an issue on our side with processing the project info they send us.
@tmeschter Any thoughts on this for what we should be looking for?
I'm not sure but maybe this help: my solution contains a project from a folder outside of my workspace.
I wouldn't expect that to matter, but thanks for mentioning it.
updated to C# 2.14.8 and the long waiting time is back. C# dev kit is 1.1.16
@inlineHamed can you let me know if you can still reproduce this on the latest (prerelease) version of the C# extension and C# DevKit?
Closing, we've made a ton of changes on both C# and C# Dev Kit side to project loading and startup. Please try the latest versions and let us know if it's an issue.