Skip to content

Fix dependent DLL loading#167

Merged
Equinox- merged 3 commits intoTorchAPI:stagingfrom
susu:fix-dependent-dll-loading
Nov 7, 2017
Merged

Fix dependent DLL loading#167
Equinox- merged 3 commits intoTorchAPI:stagingfrom
susu:fix-dependent-dll-loading

Conversation

@susu
Copy link
Copy Markdown
Contributor

@susu susu commented Nov 6, 2017

It is a bunch of fixes, the main issue was that I'm using a package from NuGet in my plugin. But that package has other NuGet package dependencies, and those packages have more dependencies, ... etc.

Those DLLs need to be loaded in a proper order, I implemented it with the AssemblyResolve event.

Other fixes:

  • load only *.dll files, but not files like *.dll.xml
  • actually instantiate the plugin from zip
susu added 3 commits November 6, 2017 20:24
… zips

I had several Xy.dll.xml files there
and it was tried to be loaded as an Assembly.
Let Torch to load the plugin's assembly.
When there are dependencies among a plugin's DLLs,
those dependencies needs a custom resolving.
@Equinox- Equinox- merged commit 25a708a into TorchAPI:staging Nov 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants