Поделиться через


VC++ Debug C++ Runtime Files..

How many times have you tried to run the debug build of your project on a test machine where you don't have Visual Studio installed, and faced issues? Issues like,

For binaries built in debug configuration with Visual Studio 2005..

Activation context generation failed for "<your file>". Dependent Assembly Microsoft.VC80.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762" could not be found.

For binaries build in debug configuration with Visual Studio 2003..

This application has failed to start because MSVCR71D.dll was not found. Re-installing the application may fix this problem.

Actually the solution to problem is very simple.

For binaries built in debug configuration with Visual Studio 2005, download following files, extract them get files from following location and put them in your application directory (along with the manifest file).

Update:**I cant re-distribute the debug run-time files over here, So, I have removed the download links, but you can get the required files from following location (on the machine where you have Visual Studio 2005 installed)**

C:\Program Files\Microsoft Visual Studio 8\VC\redist\Debug_NonRedist\x86

For binaries build in debug configuration with Visual Studio 2003, you can copy following files and place them in application path.

    • C:\windows\system32\msvcr71d.dll
    • C:\windows\system32\msvci70.dll
    • C:\windows\system32\msvcp71d.dll

Following documentation may also help..

Redistributing Visual C++ Files
https://msdn.microsoft.com/en-us/library/ms235299.aspx

Stay tuned.. Wave

Comments

  • Anonymous
    May 07, 2008
    I'm pretty sure the debug CRT is non-redistributable. Please see here: http://msdn.microsoft.com/en-us/library/aa985618(VS.80).aspx

  • Anonymous
    May 04, 2013
    bianca12romao@gmail.com                                                          ncaomddedf