How to install VC80CRT debug runtimes without full visual studio 2005?

早过忘川 提交于 2019-11-29 09:29:34

Refer to this post.

As per this the debug dlls can be found at:

For Visual Studio 2005:

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

For Visual Studio 2008:

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

Also as per what I know you need not have these dlls in the WinSxS folder. Even if these dlls are present in the same directory as your application exe is, it will do. Anyways using debug dlls in production environment is not recommended.

In case you elevate your application, make sure you set the 'Start in' path to the application home/install directory or add the path to the VC++ debug dlls to the PATH environment variable.

You must install visual studio to get the debug CRT. This will be moot as soon as we don't need 2005 or 2008 again.

You can create a simple setup project (vdproj) which pulls in the debug merge modules.

This works fine up to Visual Studio 2010 (VS10) but is not supported for 2012 (VS11) and later :o(

You must install the C++ compilers to get the debug CRT, but you don't have to install all of Visual Studio. Instead, use the web install of the Windows SDK to install the compilers. The Windows 6 SDK includes the VC8 compilers, the Windows 7 SDK includes the VC9 compilers and the Windows 7.1 SDK includes the VC10 compilers.

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