Visual Studio 2015 / Win10: appcrt140.dll missing

青春壹個敷衍的年華 提交于 2020-01-16 08:51:26

问题


I'm currently converting a solution of command line executables linking against static libs from VS2013 to VS2015. Everything compiles and linkes fine, however, when executing the command line executable the new appcrt140.dll is not found:

I installed both the x86 and x64 VC redistributable. From what I read online, it should be part of Windows10, however, I'm not able to detect this file on my system. Also, the desktopcrt140.dll is missing on my system; both of which should be part of the VS2015 redist (see Visual C++ Runtime Files), however, they seem not to be installed along with VS2015 Enterprise:

What am I missing here / how do I install the missing dlls?


回答1:


If I understood correctly the CRT has suffered major changes between VS2015 CTP1 and the current VS2015 (more details here) one of them being the replacement of both of your missing dlls with what they call a universal CRT (which is as stated a part of Windows 10).

The AppCRT and DesktopCRT have been recombined into a single library, which we have named the Universal CRT.

Judging from this I would say you should upgrade to newest version of VS2015 if you are not using it already. If you are already using that and getting this error then it could be due to a dependency that was buit with VS2015 CTP1.



来源:https://stackoverflow.com/questions/32129787/visual-studio-2015-win10-appcrt140-dll-missing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!