vst.net icon indicating copy to clipboard operation
vst.net copied to clipboard

Problem loading secondary dependencies from deploy/bin

Open obiwanjacobi opened this issue 4 years ago • 2 comments

When a plugin has dependent assemblies that are loaded after the initial boot/load sequence of the plugin, they are not found in the deploy/bin location. They are only found when moved to the deploy folder.

(NoteToSelf: Have a sample project to reproduce: VST.NET-DepLoadingProblem.7z)

obiwanjacobi avatar Nov 03 '21 09:11 obiwanjacobi

I am having a similar problem with VST.NET1. You can reproduce it in this PR: https://github.com/robianmcd/midi-shape-shifter/pull/9

This is the type of error that I get image

I hope that I can fix this and upgrade to VST.NET2

aminya avatar Jun 19 '23 15:06 aminya

I managed to fix the above using ILRepack: https://github.com/ravibpatel/ILRepack.Lib.MSBuild.Task

Here is the config file needed for that. The VST.NET files need to stay outside https://github.com/robianmcd/midi-shape-shifter/blob/master/MidiShapeShifter/MidiShapeShifter/ILRepack.targets

aminya avatar Jun 21 '23 08:06 aminya