0
我在ASP.Net和一个实体项目(Built to DLL)中有一个WebApplication项目。C#无法从发布DLL加载文件或程序集
如果我在调试模式下构建DLL,那么我的WebApp加载程序集成功。但是,当我在发布模式下构建DLL时,我的WebApp无法加载程序集。
错误:
Could not load file or assembly 'MyLibs, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.