Visual Studio 2019 crashes on startup

André Bodden 101 Reputation points
2020-12-03T10:18:57.373+00:00

Please describe the issue in 2-3 sentences. Include what you're trying to accomplish when the issue occurs.
Upon starting Visual Studio, the splash screen appears and immediately disappears. Then there's a noticeable windows 'beep' sound. Nothing happens after that.
I've tried multiple reinstallations (including installing the application to another disk) but to no avail. The issue also happened with Visual Studio 2017 (however I uninstalled this one). Visual Studio 2015 works fine.

When did it begin and how often does it occur?
This started happening yesterday when I tried to configure my system for the strong name signing of libraries. It now happens everytime and I am no longer able to start Visual Studio 2019.

What errors do you see?
Upon starting Visual Studio, the splash screen appears and immediately disappears. Then there's a noticeable windows 'beep' sound. Nothing happens after that.
In the log file, I found some errors like:

What's the environment and are there recent changes?
Windows 10 Professional x64 version 1809, everything worked fine until yesterday when I was trying to configure my system for strong name signing of libraries

What have you tried to troubleshoot this?

  • Multiple re-installations of Visual Studio
  • Running the .NET repair utility
  • Running SFC /scannow
  • Running DISM /Online /Cleanup-Image /RestoreHealth
Developer technologies | Visual Studio | Other
0 comments No comments
{count} vote

Accepted answer
  1. André Bodden 101 Reputation points
    2020-12-03T10:58:20.86+00:00

    I resolved the issue by following the thread on this location:
    https://developercommunity.visualstudio.com/content/problem/643310/visual-studio-2019-or-2017-ide-is-not-displayed-ju.html

    After painstaking troubleshooting this error I found out that the error ""Hash validation failed for file or assembly" was cause by the default cryptographic service provider (CSP) were change.

    Executing below command on Developer Command Prompt fix it for me. This will reset the CSP to it's defaul setup.

    sn -c

    For me the command 'sn -c' resolved the issue and Visual Studio now starts without issues.


3 additional answers

Sort by: Most helpful
  1. Amit Kumar 1 Reputation point
    2021-05-19T09:29:48.097+00:00

    I am also having the same issue with visual studio 2019 . It was working fine earlier . I tried re installation and also tried installing vs 2017 but same problem.
    Tried the above the solution bu that also not working for me. Please help.

    0 comments No comments

  2. Gary Gray 106 Reputation points
    2022-08-13T23:46:41.94+00:00

    another screw up by Microsoft .. very annoying.

    0 comments No comments

  3. Russell, Ian 0 Reputation points
    2024-05-31T17:28:25.12+00:00

    This fix also worked (for me) for the same issue in SSMS 20.

    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.