-
Hi,
The above code works but when I uncomment the Solver part, I run into the follwing error: System.BadImageFormatException: Could not load file or assembly 'SonnetWrapper, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null'. An attempt was made to load a program with an incorrect format. My intuition is that I am missing some dependencies - which ones would that be? Could you please help out? NOTE: I see another |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Ok I found the answer... |
Beta Was this translation helpful? Give feedback.
-
Glad you found the root cause, and thanks for reporting back! I had to google ijwhost.dll--which is apparently created in the .NET Core builds for the C++/CLI of SonnetWrapper. I've changed AppVeyor config to include the ijwhost.dll in the binary zips for net5.0 in 35d21ba. |
Beta Was this translation helpful? Give feedback.
Ok I found the answer...
It seems I should simply "copy" the Ijwhost.dll file to the output folder (not adding it as an assembly)...