LINQPad: "BadImageFormatException" when using (.NET4) VS2010 assemblies?
Using LINQPad, I am trying to test a few snippets with my own C# objects, which are written in .NET 4.0 (Beta 1) using VS2010 B1. When I try to use it, I get the following message in LINQPad:
BadImageFormatException: Could not 开发者_如何转开发load file or assembly 'file:///C:...\XX.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
In this post, one of the LINQPad authors mentions that ".. There's already a Framework 4.0 build ..". Anyone knows where is it, or how to get it?
I was also looking for the manifest file for the LINQPad.exe, since I know there is a way to extend support for .NET 4.0 by adding that as a supported version in the manifest file. I once did that, but I can't find out now how to do it !! Anyone knows a reference? Not to mention, I don't know if that would work for LINQPad, and if the manifest file is embedded (since I can't see one).
Get the beta LinqPad .NET 4.0 build here
I believe it can be found here: http://www.linqpad.net/Beta.aspx
精彩评论