Mono in 2005
I'm in the slightly odd situation where only Mono is working with Visual Studio 2005. The older .NET runtimes are throwing the following exception...
TestCase 'M:Tests.TestVS2005.TestRuntime' failed: The format of the file 'ClassLibrary2005.dll' is invalid. System.BadImageFormatException: The format of the file 'ClassLibrary2005.dll' is invalid. File name: "ClassLibrary2005.dll"
I find it hard to believe that .NET 1.1 will choke on any 2.0 assembly. Hopefully there will be some way to persuade it to work. Any ideas?
Above you can see Mono executing a .NET 2.0 assembly built with Visual Studio 2005. Notice that PInvoke works with Mono. I'd writing debug strings like this to avoid referencing the 'System' assembly. I don't think Mono supports binding redirects yet. Apart from that, what can I say? Go Mono!
I'm afraid this build isn't out yet. I'm still knocking out a few rough edges when running under 2005. Without my unit tests working I'm feeling a bit hobbled!