How to fix Visual Studio 2022 from crashing on startup?

William.S 20 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.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,573 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,827 questions
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 28,951 Reputation points Microsoft Vendor
    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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful