Invalid File Format for C# DLLs
Posted: February 17th, 2006, 4:56 am
Hello,
I wrote a plugin in C# using VS.NET 2005 Team Edition. I am unable to load it. I've tried compiling it as a library project as well as a /target:library from the command line. I'm always told that the file format is invalid, however.
Interesting part is that if I compile the same code with the mono freeware compiler the produed DLL works fine.
What am I doing wrong? I've tried both release and debug versions of the DLL VS.NET produces.
I wrote a plugin in C# using VS.NET 2005 Team Edition. I am unable to load it. I've tried compiling it as a library project as well as a /target:library from the command line. I'm always told that the file format is invalid, however.
Interesting part is that if I compile the same code with the mono freeware compiler the produed DLL works fine.
What am I doing wrong? I've tried both release and debug versions of the DLL VS.NET produces.