VB.net项目在32位平台上运行良好,但在64位平台上显示错误 [英] VB.net project works fine on 32 bit platform but shows error on 64-bit platform

查看:78
本文介绍了VB.net项目在32位平台上运行良好,但在64位平台上显示错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用x86平台开发了我的vb.net应用程序,它在32位上运行良好。但是当我尝试在64位客户端PC中安装它时会出错.CRRedist2005_x86是水晶报告安装程序。 ..当我尝试运行这个msi文件时,它给我一个错误,说这个软件包不适合安装。



请帮我解决这个问题.. 。

I have developed my vb.net application using x86 platform and it runs well on 32-bit.But when I try to install it in clients PC which is 64-bit it gives error.. CRRedist2005_x86 is the crystal reports installer...When I try to run this msi file it gives me error saying "This package is not proper to be installed."

Please help me to solve this...

推荐答案

解决这个问题转到项目属性然后编译 - >高级编译选项

''目标CPU''组合选择x86,然后按确定

现在运行它将在64位窗口中运行的项目
to solve this problem go to project properties and then compile->advanced compile option
in ''Target CPU'' combo select x86 and then press ok
now run the project it will run in 64 bit window also


这篇关于VB.net项目在32位平台上运行良好,但在64位平台上显示错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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