mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-12-08 15:24:07 +00:00
Fix namespace bug when use the assembly loader
Fix namespace bug when use the assembly loader
This commit is contained in:
parent
28776d7cad
commit
6839b8edd1
|
|
@ -130,6 +130,7 @@ namespace WelsonJS.Launcher
|
|||
Type loaderType = phantomAsm.GetType("Catswords.Phantomizer.AssemblyLoader", true);
|
||||
|
||||
loaderType.GetProperty("BaseUrl")?.SetValue(null, GetAppConfig("AssemblyBaseUrl"));
|
||||
loaderType.GetProperty("LoaderNamespace")?.SetValue(null, typeof(Program).Namespace);
|
||||
loaderType.GetProperty("AppName")?.SetValue(null, "WelsonJS");
|
||||
loaderType.GetMethod("Register")?.Invoke(null, null);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user