尝试运行项目时出错无法加载文件或装配......程序集清单 [英] Error while trying to run project could not load file or assemply ......assembly manifest

查看:102
本文介绍了尝试运行项目时出错无法加载文件或装配......程序集清单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio 8新的Windows项目运行给出错误 - 尝试运行项目时出错无法加载文件或Assemply ......模块预计包含程序集清单



谢谢



我尝试过:



我已经格式化了我的机器并安装了visul studio 8并采用了一个新项目并点击运行它的工作原理。然后我安装了visual studio 10然后在vs 8 - 新项目运行中它给出了这个错误。

Visual Studio 8 new windows project run gives error - Error While Trying To Run Project Could not Load file or Assemply ......the module was expected to contain a assembly manifest

Thanks

What I have tried:

I have formatted my machine and installed visul studio 8 and taken a new project and click on run it works. Then I installed visual studio 10 and then in vs 8 - new project run it gives this error.

推荐答案

这两个项目可能是针对不同的机器尺寸而构建的 - 如果您的新VS10项目是为x64构建的,并且使用了为x86构建的VS8(反之亦然),那么您可以获得此消息,因为您无法在同一进程中在32位和64位程序集之间切换。 br />


请检查您的构建设置,并为您的DLL文件使用合适的大小。
Chances are that the two projects are built for different "machine sizes" - if your new VS10 project is built for x64 and uses a DLL your VS8 built for x86 (or vice versa) then you could get this message as you can't switch between 32 bit and 64 bit assemblies within the same process.

So check your build settings, and use an appropriate size for your DLL files.


这篇关于尝试运行项目时出错无法加载文件或装配......程序集清单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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