[Kde-bindings] Building "assemblies" branch of assemblygen under Windows

Steven Boswell II ulatekh at yahoo.com
Mon Dec 12 00:30:07 UTC 2011


As I stated before, if Mono (i.e. what was installed using mono-2.10.6-gtksharp-2.12.11-win32.exe) is used to compile C# files, then assemblygen.exe produces gibberish for the Q_PROPERTY fields.  But if I use Microsoft's C# compiler instead,and try to run the assemblygen.exe executable without the "mono" prefix (since .NET executables are supported directly by Windows), then assemblygen.exe crashes upon startup:

Unhandled Exception: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) 
   at MainClass.InitSmoke(String module) 
   at MainClass.Main(String[] args)

Note that I can run assemblygen.exe without arguments and it's fine -- it just prints a list of options.

I'm stuck again.

Steven Boswell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20111211/9633d9b4/attachment.html>


More information about the Kde-bindings mailing list