且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

应用程序无法启动,因为它的并排配置不正确

更新时间:2023-10-12 11:43:22

无法找到依赖程序集 Microsoft.VC90.DebugCRT,...

Dependent Assembly Microsoft.VC90.DebugCRT,... could not be found

是的,只能在安装了 Visual Studio 的计算机上找到.DebugCRT 不可分发.而且编写 C 或 C++ 代码并为其部署调试版本是没有意义的,它会慢很多.

Yes, that can only be found on a machine that has Visual Studio installed. The DebugCRT is not distributable. And it doesn't make sense to write C or C++ code and deploy the debug build for it, it is a lot slower.

部署您的 DLL 的发布版本.还有 VC++ 库,安装项目的先决条件中的复选框之一.

Deploy the Release build version of your DLL. And the VC++ Libraries, one of the check boxes in the Prerequisites of a Setup project.