fix: Fixes assembly loading. (#759)
* `AssemblyHandler.Assemblies` will now only contain assemblies listed in `assemblies.json` * `assemblies.json` has been updated to only contain asssemblies directly loaded by the server. Namely, only `UOContent.dll`. * Specifically assemblies loaded by assemblies.json are subject to check for `Configure` and `Initialize` methods. * `modernuo.json` now has a new property called `assemblyDirectories`. This will be automatically set to `Distribution/Assemblies` (absolute path on your machine). * You can add more directories to this list. * All assemblies in assemblies.json _AND_ dependents of any assembly will be searched for in the directories specified by `assemblyDirectories`.
This commit is contained in:
parent
0d1fffd9fc
commit
54e56d2fc1
5 changed files with 67 additions and 9 deletions
|
|
@ -1,9 +1,3 @@
|
|||
[
|
||||
"Argon2.Bindings.dll",
|
||||
"BouncyCastle.Crypto.dll",
|
||||
"MailKit.dll",
|
||||
"MimeKit.dll",
|
||||
"Microsoft.Extensions.FileSystemGlobbing.dll",
|
||||
"Zlib.Bindings.dll",
|
||||
"UOContent.dll"
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue