The visual studio 2022 (version 17.7.4) is closing automatically after I try to open the solution

BALLABATHULA Supriya 0 Reputation points
2023-10-09T09:04:56.42+00:00

The visual studio is closing automatically after trying to open my solution.I have the following ways but the issue still exists.

1.Restarted visualstudio(vs)
2.Opened in safe mode

3.Resetting visual studio through developer command prompt
4.repairing vs through installer

 5.current version of 2022 17.7.4
6Cleared componentcache

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,718 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,193 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 29,831 Reputation points Microsoft Vendor
    2023-10-10T09:41:12.8533333+00:00

    Hi @BALLABATHULA Supriya

    Welcome to Microsoft Q&A! 

    Please try to rename the folder: C:\Users\<username>\AppData\Local\Microsoft\VSCommon\OnlineLicensing\VisualStudio.

    Then, restart your computer and run the VS as administrator to check it again. 

    Besides, you can consider uninstalling the VS2022 and reinstalling it. 

    Sincerely,

    Anna


    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.

  2. S.Sengupta 19,661 Reputation points MVP
    2023-10-09T14:50:16.0333333+00:00

    Kindly go through the following Microsoft reference article:

    Troubleshoot Visual Studio installation and upgrade issues

    Check the Windows Event Viewer for any error messages related to Visual Studio crashes. This might provide more details about the cause of the problem.

    0 comments No comments

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.