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.