Bug with a .NET DLL, not sure how to trace
Posted: Thu Apr 29, 2010 5:00 pm
I'm getting an old build error relating to my use of libtcod-net. It's a roguelike engine wrapper, the core DLL is written in C and there's a .net wrapper. Now, I understand this isn't Cobra's problem but for three things:
1) The error message is really not helping me out here.
2) I can build it in Visual Studio and use it, so there's no problem I can find inherent to the wrapper.
3) It was building earlier on my WIndows XP box. But on my Windows 7 box, I get that error.
Now, is there any way I can get a more details explanation of the error (I tried the verbosity flags to no avail) or does anyone have an idea on correcting this?
1) The error message is really not helping me out here.
G:\Projects\Cobra\libtcobra>cobra trybuild
error: COBRA INTERNAL ERROR / BadImageFormatException / Could not load file or a
ssembly 'file:///G:\Projects\Cobra\libtcobra\libtcodWrapper.dll' or one of its d
ependencies. An attempt was made to load a program with an incorrect format.
Compilation failed - 1 error, 0 warnings
Not running due to errors above.
2) I can build it in Visual Studio and use it, so there's no problem I can find inherent to the wrapper.
3) It was building earlier on my WIndows XP box. But on my Windows 7 box, I get that error.
Now, is there any way I can get a more details explanation of the error (I tried the verbosity flags to no avail) or does anyone have an idea on correcting this?