Visual Studio 2022 debug is VERY slow

Serge Gusev 0 Reputation points

One simple operation like

var state = StateEnum.Success

could take about 5 seconds

I'm not sure, but seems to me it is started after last update.

What should I check to fix this problem?

PS. All extensions are already disabled.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,161 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 16,921 Reputation points Microsoft Vendor

    Hello @Serge Gusev ,

    Welcome to Microsoft Q&A forum.

    I may suggest you first try to clean cache(project cache and VS cache) => remove the hidden .vs folder in your solution folder and remove the ComponentModelCache folders in this directory: C:\Users\username\AppData\Local\Microsoft\VisualStudio\17.0_XXXXXXXX, after that rebuild your project and debug again.

    Not sure if any installed extensions affect VS(may be not fully compatible with updated version of VS 2022), I know you have disabled them, if possible, you can try to uninstall them, test again and then reinstall them.

    Since this issue appeared after you updated Visual Studio, as a temporary workaround, you may consider downgrading Visual Studio 2022 to a previous version and waiting for a new version of VS 2022 release.



    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments