【发布时间】:2014-02-12 05:25:38
【问题描述】:
我的项目使用另一个 lib 项目作为参考。
尝试在“发布”模式下运行项目时出现此错误,在“调试”模式下运行正常。
它说它无法加载 lib 项目,因为:
"An unhandled exception of type 'System.BadImageFormatException' occurred in mscorlib.dll
Additional information: Could not load file or assembly 'UserManagementProviders,
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."
【问题讨论】:
标签: c# .net visual-studio-2010 badimageformatexception