Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem loading secondary dependencies from deploy/bin #53

Open
obiwanjacobi opened this issue Nov 3, 2021 · 2 comments
Open

Problem loading secondary dependencies from deploy/bin #53

obiwanjacobi opened this issue Nov 3, 2021 · 2 comments

Comments

@obiwanjacobi
Copy link
Owner

obiwanjacobi commented Nov 3, 2021

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)

@aminya
Copy link

aminya commented Jun 19, 2023

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

This is the type of error that I get
image

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

@aminya
Copy link

aminya commented Jun 21, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants