如何在没有完整的 Visual Studio 2005 的情况下安装 VC80CRT 调试运行时?
我无法运行调试 sdk 应用程序,因为它需要 VC 8 和 VC 9 版本的 CRT。但它只需要 Visual Studio 2008 来进行插件开发,这正是我所需要的。
如何将 2005 年的调试运行时安装到 Windows7 计算机上?我不知道如何让它们在本地运行应用程序,也无法在没有可信安装程序的情况下将任何内容复制到 winSxS 文件夹中。
I can't run a debug sdk application because it requires both VC 8 and VC 9 versions of the CRT. But it only requires visual studio 2008 for plugin dev, which is what I need.
How do I install the debug runtimes from 2005 on to a Windows7 machine? I can't figure out how to make them run app local nor can I copy anything into the winSxS folder without a trusted installer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
请参阅此帖子。
据此,可以在以下位置找到调试 dll:
对于 Visual Studio 2005:
对于 Visual Studio 2008:
另外,据我所知,您不需要在 WinSxS 文件夹中包含这些 dll。即使这些 dll 与应用程序 exe 位于同一目录中,也可以。
无论如何,不建议在生产环境中使用调试 dll。
如果您提升应用程序,请确保将“启动”路径设置为应用程序主/安装目录,或将 VC++ 调试 dll 的路径添加到 PATH 环境变量。
Refer to this post.
As per this the debug dlls can be found at:
For Visual Studio 2005:
For Visual Studio 2008:
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.
您必须安装 Visual Studio 才能获取调试 CRT。一旦我们不再需要 2005 年或 2008 年,这个问题就会变得毫无意义。
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.
您可以创建一个简单的安装项目 (vdproj),它会引入调试 合并模块。
这适用于 Visual Studio 2010 (VS10),但 2012 (VS11) 及更高版本不支持 :o(
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(
您必须安装 C++ 编译器才能获取调试 CRT,但不必安装所有 Visual Studio。相反,使用 Windows SDK 的 Web 安装来安装编译器。 Windows 6 SDK 包括 VC8 编译器,Windows 7 SDK 包括 VC9 编译器,Windows 7.1 SDK 包括 VC10 编译器。
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.