问题描述
我用VC ++编写了一个程序.当我在计算机上安装它时,它可以正常工作.但是当我在其他人的计算机上安装它时,出现此错误:
I have written a program in VC++. when I install it on my computer it works fine. but when I install it on someone elses computer I get this error:
System.IO.FileLoadException:无法加载文件或程序集通用类,版本= 1.0.3780.33574,文化=中性,PublicKeyToken =空"或其依赖项之一.该应用程序无法启动,因为其并行配置不正确. 请参阅应用程序事件日志或使用命令行sxstrace.exe工具以获取更多详细信息. (来自HRESULT的异常:0x800736B1)
System.IO.FileLoadException: Could not load file or assembly 'Common Classes, Version=1.0.3780.33574, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1)
我正在使用Windows Vista.我的计算机上安装了VS2005和VS2008.在设置和部署项目中,添加合并模块: Microsoft_VC80_CRT_x86.msm和Microsoft_VC80_MFC_x86.msm"
Im using windows vista. I have VS2005 and VS2008 installed on my computer. In the setup and deployment project I add the merge modules: " Microsoft_VC80_CRT_x86.msm and Microsoft_VC80_MFC_x86.msm"
任何帮助将不胜感激.
推荐答案
3.在项目设置中.什么是MFC库-是静态dll还是共享dlll?
3.In project settings..what is the MFC library -is it static dll or shared dlll?
这篇关于设置和部署麻烦的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!