Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Invalid File Format for C# DLLs

Discussing issues that occur during plugin development.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
krisp
Plugin Author
Posts: 51
Joined: February 17th, 2006, 4:53 am

Invalid File Format for C# DLLs

Post by krisp »

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.

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

maybe there is a difference between the team edition of vs and the pro.... :smt102
did you experienced the same problem with the demo code?

krisp
Plugin Author
Posts: 51
Joined: February 17th, 2006, 4:53 am

Post by krisp »

any code compiled with it says invalid format as far as trying to get it working in lcdsmartie. I have both .net 1.1 and 2.0 installed as well...

clansley
Site Admin
Posts: 104
Joined: February 13th, 2005, 5:09 pm
Location: UK
Contact:

Post by clansley »

Have you downloaded the sample plugins and tried to compile them?

ISTR that for .net there was more than one way to build a dll -- the sample plugin should be trying to use the one that works.

Post Reply