0

Is it possible to use probing for reference to .dll's in AppData?

<probing privatePath="libs" />

This is what im using right now, but I can't reference any folder outside of the folder containing the .exe file.

Is there an alternative way to get it done?

Im attempting this so that my application with around 10 dll files can be somewhat in-dependent and be a single .exe file. Due to how the dependency files are used, I cant use ILMerge e.t.c

  • Have you considered handling AppDomain's assembly resolve event? –  Feb 13 '18 at 13:01
  • @MickyD I have, When I do it using that, all it does is shutdown which occurs when a dependency didnt load. But using the same path but with App.config it will load (This is using a relative path next to the .exe not with appdata at the moment) –  Feb 13 '18 at 13:10
  • Consider posting your code. Good luck! :) –  Feb 13 '18 at 13:23
  • @MickyD Im using the code from: https://stackoverflow.com/a/43311366/8549339 –  Feb 13 '18 at 13:50

0 Answers0