How to fix Visual Studio 2022 from crashing on startup?

William.S 25 Reputation points
2024-07-04T23:57:16.39+00:00

I downloaded Visual Studio 2022 yesterday and installed the .NET component for a uni course. Today when I went to open VS2022 it crashed on start-up. I have repaired the program and it worked well once, then after I had saved/closed the program it began crashing any time I tried to reopen it. I have also tried restarting my pc, reinstalling Visual Studio, and running the application as admin. I have 20GB of storage left so I don't think its a problem with that. My laptop is running a Core i5-10200H, 8GB RAM, and a GTX 1650 on Windows 11 Home.

Developer technologies | .NET | Other
Developer technologies | Visual Studio | Other
{count} vote

Accepted answer
  1. Tianyu Sun-MSFT 34,441 Reputation points Microsoft External Staff
    2024-07-05T10:01:01.1366667+00:00

    Hi @William.S,

    Please try to rename/remove this "ComponentModelCache" folder C:\Users\username\AppData\Local\Microsoft\VisualStudio\17.0_<InstanceID>\ComponentModelCache, restart VS and check if it works.

    Besides, I notice that there’s a similar issue which has been reported on our Developer Community and is currently Under Consideration. It’s possible that this is a potential issue. Best Regards,

    Tianyu


    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.

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.