Plugin assemblies shouldn't be unloadable

This commit is contained in:
nicolas.dorier 2023-01-18 16:46:08 +09:00
parent 1228a06a90
commit 248401f534
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -132,7 +132,7 @@ namespace BTCPayServer.Plugins
// this ensures that the version of MVC is shared between this app and the plugin
config.PreferSharedTypes = true;
config.IsUnloadable = true;
config.IsUnloadable = false;
});
var pluginAssembly = plugin.LoadDefaultAssembly();