I just installed Visual Studio 2015 Community on my computer. Until now I have been using Visual Studio 2010 Professional. Now when I try to run my MVC apps in the build in web server, I get the following error message.
The procedure entry point __CrtGetFileInformationByHandleEx could not be located in WINDOWSSYSTEM32msvcp120_clr0400.dll
I get the same error message if I try to execute vbc.exe
(the Visual Basic compiler) on directly at the command prompt. My MVC app also shows a YSOD with
Compilation Error - Compiler Error Message: The compiler failed with error code -1073741511.
How can I fix my VS so I can run my programs again?!
Steps I've tried
- Uninstall VS 2015 Community
- Uninstall and reinstall .NET 4.6 and .NET 4.5.2
- DISM /Online /Cleanup-Image /RestoreHealth
- The .NET Repair Tool
- Run sfc /scannow
- Manually rename the msvcr120_clr0400.dll file to msvcr120_clr0400.dll.corrupt and do 1-5
- Uninstall and reinstall VS 2010 w/ SP1
sfc /scannow
successfully replaced the msvcr120_clr0400.dll file, but it replaced it with the exact same CTP file as before!
EDIT:
The problem dll's from my system are available for download here:
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…