IceYGO/ygosharp

Error when trying to run YGOSharp

Opened this issue · 0 comments

After compiling the OCGcore library and "YGOSharp.sln", I get this error when starting "YGOSharp.exe":

Unhandled Exception: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x900700B)
at YGOSharp.OCGWrapper.Api.set_card_reader(CardReader f)
at YGOSharp.OCGWrapper.Api.Init(String rootPath, String scriptDirectory, String databasefile) in ...\YGOSharp.OCGWrapper\Api.cs:line 96
at YGOSharp.Program.Main(String[] args) in ...\YGOSharp\Program.cs:line 23

Not sure if this is an issue on my end or because of something stupid I did/didn't do.