Visual Studio 2022 Will Not Start

Miguel Grajeda 6 Reputation points
2022-09-20T20:11:30.337+00:00

Visual Studio will not start. The issue began with a running version of Visual Studio Pro 2019. I couldn't get it to start, so I tried the following.

I cleared files in the following:
C:\Users\miguel.ELECTREX\AppData\Roaming\Microsoft\VisualStudio
C:\Users\miguel.ELECTREX\AppData\Local\Microsoft\VisualStudio
C:\Users\miguel.ELECTREX\AppData\Local\Temp

Uninstalled Visual Studio 2019 and Installed 2022, reboot many times.

Ran devenv /ResetSettings in the Developer command prompt.

Event Viewer:

Faulting application name: devenv.exe, version: 17.3.32901.215, time stamp: 0x63112d8a
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0x80131623
Fault offset: 0x00007ff8ebb2c767
Faulting process id: 0x4268
Faulting application start time: 0x01d8cd2bec962405
Faulting application path: C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe
Faulting module path: unknown
Report Id: f2e5d196-a762-4d3a-bdeb-eeb703db1124
Faulting package full name:
Faulting package-relative application ID:

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
970 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Michael Taylor 48,576 Reputation points
    2022-09-20T20:24:02.94+00:00

    Seems like you have a corrupt install of something given that it is missing a file.

    Run devenv.exe -log '<pathtotemp>\vslog.xml'. When VS crashes then go to the log file and take a look at it.

    Given that it impacted both VS 2019 and VS 2022 my guess is it is a corrupt common component like .NET Framework, VC++ runtime or something. You could try repairing the VS install but if it is a common component it probably won't help. The next step would be to repair the .NET Framework and related components. But hopefully the log file will tell you what is wrong.

    If the log doesn't provide any additional information then download and run procmon. Have it monitor the file calls. Then try to start VS. When it fails procmon should tell you what file(s) it was trying to open. Note that it is common for processes to attempt to open files that don't exist so you'll need to scan through the list looking for something that looks important.