Visual Studio Keeps Crashing on Windows 11

Mahmoud Mostafa 0 Reputation points
2025-01-29T20:16:14.3966667+00:00

Edition Windows 11 Pro

Version 23H2

Installed on ‎1/‎21/‎2025

OS build 22631.4751

Experience Windows Feature Experience Pack 1000.22700.1055.0

Problem:

I've installed the VS 2022, and it keeps crashing.

I tried to trace the issue for days, and finally, I got a clue about what was going on from the Windows Event Viewer.

I found 2 Error when trying lunching the VS 2022User's image

Faulting application name: devenv.exe, version: 17.12.35707.178, time stamp: 0x677db4da

Faulting module name: clr.dll, version: 4.8.9290.0, time stamp: 0x67214bca

Exception code: 0xc0000005

Fault offset: 0x000000000014c097

Faulting process id: 0x0x4D7C

Faulting application start time: 0x0x1DB728993F7C76A

Faulting application path: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.exe

Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll

Report Id: ed2d5917-32b8-46cc-8ed7-fc39dc2a1ab1

Faulting package full name:

Faulting package-relative application ID:

-

Application: devenv.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an internal error in the .NET Runtime at IP 00007FFB7C14C097 (00007FFB7C000000) with exit code 80131506.

From a simple investigation, I realized that the issue was from the .Net Framework, so I deleted the framework, and the app worked! but I can't do anything since I don't have the Framework installed.

I hope there's an upcoming patch for this issue.






Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,415 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 30,821 Reputation points Microsoft Vendor
    2025-01-30T06:48:56.9866667+00:00

    Hi @Mahmoud Mostafa, 

    Welcome to Microsoft Q&A! 

    You can try to reinstall the latest supported .NET Framework from the official download page.

    Download .NET Framework | Free official downloads 

    After installation, you can re-launch your VS2022 and check that it works properly.

    If you still have the .NET Runtime error, you can use the following tool to repair your .NET Framework:

    https://docs.microsoft.com/en-us/dotnet/framework/install/repair

    Besides, you can also install the required .NET Framework by opening the Visual Studio Installer > Modify > Individual components tab > search ".NET Framework". 

    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.


  2. Mahmoud Mostafa 0 Reputation points
    2025-01-30T20:39:51.3133333+00:00

    the only thing that helped was working with the pre-version.

    i think there's a bug or something

    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.