i keep getting a BadImageFormatException when trying to start the ConsoleDriver.
I installed CPPGen via Nuget (Version 0.7.3).
I am using Windows 7 Professional 64bit and Visual Studio Community 2015.
Is it the Community Edition?
The goal of the project is to get a wrapper for the ovr library.
System.BadImageFormatException was unhandled
FileName=CppSharp.Parser.CLI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
FusionLog==== Pre-bind state information ===
LOG: DisplayName = CppSharp.Parser.CLI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
...
C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL <xyz>/bin/Debug/CppSharp.Parser.CLI.DLL.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.
HResult=-2147024885
Message=Could not load file or assembly 'CppSharp.Parser.CLI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Source=CppSharp.Generator
StackTrace:
at CppSharp.ConsoleDriver.Run(ILibrary library)
...
I also installed LLVM + CLang precompiled binaries from http://llvm.org/releases/3.9.0/LLVM-3.9.0-win64.exe, even if not sure i need llvm when using nuget.
Do you have any clue what is missing?
thanks in advance