如何修复无法加载文件或程序集或Dll其依赖项之一。试图加载程序...... [英] How to fix Could not load file or assembly or Dll one of its dependencies. An attempt was made to load a program...

查看:113
本文介绍了如何修复无法加载文件或程序集或Dll其依赖项之一。试图加载程序......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



请帮帮我。



我的项目被转换为32位到64位,然后调试项目后我得到这样的错误。



无法加载文件或程序集'SampleDemo.Business64,Version = 1.0.5336.22555,Culture = neutral,PublicKeyToken = null'或其依赖项之一。试图加载一个格式不正确的程序。



任何人都可以帮我解决这个错误..

解决方案

您的项目/程序集SampleDemo.Business64必须配置任何CPU x64 选项。如果您正在使用Oracle的Oracle数据访问,则必须使用支持32位和64位的 Oracle.ManagedDataAccess



希望它有所帮助

Hi All,

Please help me.

I was converted my project 32 bit to 64 bit, then after debugging project i am getting error like this.

Could not load file or assembly 'SampleDemo.Business64, Version=1.0.5336.22555, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Could any one help me to solve this error..

解决方案

Your project/assembly SampleDemo.Business64 must be configured with Any CPU or x64 option. If you're using Oracle Data Access from Oracle you must use the Oracle.ManagedDataAccess that supports 32 and 64 bits.

Hope it helps.


这篇关于如何修复无法加载文件或程序集或Dll其依赖项之一。试图加载程序......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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