obiwanjacobi / vst.net

Virtual Studio Technology (VST) for .NET. Plugins and Host applications.
https://obiwanjacobi.github.io/vst.net/index.html
GNU Lesser General Public License v2.1
420 stars 53 forks source link

System.BadImageFormatException when launching Samples.Host #30

Closed fgoulet closed 4 years ago

fgoulet commented 4 years ago

I got this exception when starting Jacobi.Vst.Samples.Host in debug. I tried with both configuration x86 and x64.

System.BadImageFormatException Message=Could not load file or assembly 'Jacobi.Vst.Host.Interop, Version=2.0.0.0

I have Microsoft Visual C++ 2015-2019 Redistributable version 14.27.28914.0 installed, x86 and x64.

Any idea what I could be missing ?

obiwanjacobi commented 4 years ago

Yeah, sorry about that. I have been focusing on the Plugin side of things mainly. There is a small problem with the Nuget package linkage to the project. Anyway, quick fix is to copy the Ijwhost.dll next the .exe. You can find it in 'deploy' sub folder.

fgoulet commented 4 years ago

Thanks, it works now.

obiwanjacobi commented 4 years ago

Excellent