该模块应包含一个程序集清单

该模块应包含一个程序集清单

本文介绍了无法加载文件或程序集“的applicationName”或它的一个依赖。该模块应包含一个程序集清单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们该做得很顺利.NET应用程序,但是,当我们试图在另一台机器上执行的.exe遇到的错误

We tried to rebuild the solution in visual studio 2010 but encountered the error:

What could be the reason? Could this be because of absence of .net framework 3.5? We have .net framework 4.0 and 3.0 installed on Windows 7.

解决方案

I did some investigation and found these solutions that might help.

  1. Make sure that 2 .exe/dlls have same name.

  2. Make sure that whatever is your target .NET framework, it isinstalled on your machine.

  3. Target .NET framework 4 instead of .NET framework 4 client profile.

  4. Check to see if all the build options are set to either x86 or x64,depending on your system architecture, or AnyCPU.

  5. It may be because of some virus. Try to scan your machine with an anti virus and re-build the project.

For more details refer this thread.

这篇关于无法加载文件或程序集“的applicationName”或它的一个依赖。该模块应包含一个程序集清单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 15:38