问题描述
我们该做得很顺利.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.
Make sure that 2 .exe/dlls have same name.
Make sure that whatever is your target .NET framework, it isinstalled on your machine.
Target .NET framework 4 instead of .NET framework 4 client profile.
Check to see if all the build options are set to either x86 or x64,depending on your system architecture, or AnyCPU.
- 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”或它的一个依赖。该模块应包含一个程序集清单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!