尝试运行项目时出错:无法加载文件或程序集“myproject”或其依赖项。预计这些模块包含一个程序集清单。 [英] Error while trying to run project : could not load file or assembly 'myproject' or one its dependencies . The modules was expected to contain an assembly manifest.

查看:98
本文介绍了尝试运行项目时出错:无法加载文件或程序集“myproject”或其依赖项。预计这些模块包含一个程序集清单。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨伙计们!我的名字是RasyidMF。现在我想问!如何修复尝试运行项目时出错:无法加载文件或程序集(MyProject)或其依赖项。模块预计包含程序集清单。



请帮助我!



我尝试过:



只是帮帮我男人!我真的想要修复,但我不能

解决方案

这不是一个好问题 - 我们无法解决你正在尝试做的事情。

请记住,我们无法看到您的屏幕,访问您的硬盘或阅读您的想法。

您没有向我们提供有关正在发生的事情的真实信息。



首先来自 google搜索错误信息 [ ^ ],你会发现它可能是一个大小问题:你的解决方案的一部分是使用64(或32)位组合谎言,它调用的东西(可能是非.NET DLL)被编译为32位(或64位)。这两者不能像这样共存,因此会出现运行时错误。最有可能的是,你在某处使用遗留32位DLL,而你的项目的其余部分配置为任何CPU或64位。

尝试将所有项目重新配置为X86并查看是否问题消失了。如果没有,则尝试将它们全部重新配置为64位。


Hy guys ! my name is RasyidMF . now i want ask ! how to fixed "Error while trying to run project : Could not load file or assembly (MyProject) or one its dependencies . the modules was expected to contain an assembly manifest."

Please Help me !

What I have tried:

Just help me man ! i realy want fixed that but i cant

解决方案

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
An you aren't giving us any real info about what is happening.

So start by googling the error message[^], and you'll find it's probably an size problem: part of your solution is using 64 (or 32) bit assemblies, and something it's calling (probably a non-.NET DLL) is compiled for 32 (or 64) bit. The two can't coexist like that so you get a run time error. Most likely, you are using a "legacy" 32 bit DLL somewhere and the rest of your project is configured "any CPU" or "64 bit".
Try reconfiguring all your projects to X86 and see if the problem goes away. If not, then try reconfiguring them all to 64 bit instead.


这篇关于尝试运行项目时出错:无法加载文件或程序集“myproject”或其依赖项。预计这些模块包含一个程序集清单。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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