Reputation: 103
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?
Upvotes: 0
Views: 11011
Reputation: 11954
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.
Upvotes: 1