VS 2022 Won't Open

Ayu Andr 1 Reputation point
2022-09-19T02:47:25.897+00:00

I have been unable to open VS 2022 since installing it. I get the below error

"Could not start visual studio due to an error. StreamJsonRpc.RemotelnvocationException: Failed to start host 'netfxx86$|dentityHost'. Host exited with exit code'-532462766*. (ErrorKind: HostExited HResult: 80131500)

When I reset from developer command prompt, it loads but then crashes after a few minutes.

Processor Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz 2.30 GHz
Installed RAM 16.0 GB (15.7 GB usable)
System type 64-bit operating system, x64-based processor
Edition Windows 11 Home
Version 21H2
OS build 22000.978

Followed a few tutorials online but persistently ended up with the same result.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,600 questions
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.
963 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 25,551 Reputation points Microsoft Vendor
    2022-09-23T06:58:16.493+00:00

    Please try to repair your .NET Framework by using the tool:
    https://learn.microsoft.com/en-us/dotnet/framework/install/repair

    Meanwhile, run “sfc /scannow” at the command prompt to repair missing or corrupted system files.

    1 person found this answer helpful.

  2. T. Kujala 8,701 Reputation points
    2022-09-19T03:49:47.133+00:00

    Hi @Ayu Andr .

    You could disable an antivirus software like here and test if it is the reason.


  3. 2024-01-08T18:26:05.2433333+00:00

    All,

    I was able to resolve this issue by running the latest updates for VS by using the Visual Studio Installer.

    VSUpdates

    Installer

    0 comments No comments