当我尝试在记录器中加载我的类文件:classLibrary1.dll 时,我收到以下错误消息。我的项目是基于 .NET 框架 4.5 构建的。只是似乎无法找到解决方案。这是我收到的消息:
System.BadImageFormatException:无法加载文件或程序集 'file:///C:\Users\anirban.m1\Documents\Visual Studio 2012\Projects\WindowsFormsApplication1\ClassLibrary1\bin\Debug\ClassLibrary1.dll' 或其依赖项之一. 此程序集由比当前加载的运行时更新的运行时构建,无法加载。