设置和部署麻烦 [英] Setup and deployment trouble

查看:116
本文介绍了设置和部署麻烦的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用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"

任何帮助将不胜感激.

 

推荐答案

1.项目是如何构建的,是否处于调试/发布模式?
2.您尝试在哪个操作系统上安装产品?

1.How the project has been built, is it in debug/release mode?
2.In which OS did you tried to install your product?

3.在项目设置中.什么是MFC库-是静态dll还是共享dlll?

3.In project settings..what is the MFC library -is it static dll or shared dlll?

 

 


这篇关于设置和部署麻烦的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆