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

BALLABATHULA Supriya 5 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 for business | Windows Client for IT Pros | User experience | Other
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

2 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,166 Reputation points Microsoft External Staff
    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 28,651 Reputation points MVP Volunteer Moderator
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.