diff --git a/framework/Furion/Reflection/Reflect.cs b/framework/Furion/Reflection/Reflect.cs index 592fef93b9c2287412d115d3972c38d980d04ea6..1ceba42ed9b51cb50078f120847adf9c2111b64b 100644 --- a/framework/Furion/Reflection/Reflect.cs +++ b/framework/Furion/Reflection/Reflect.cs @@ -1,4 +1,4 @@ -// Copyright (c) 2020-2021 百小僧, Baiqian Co.,Ltd. +// Copyright (c) 2020-2021 百小僧, Baiqian Co.,Ltd. // Furion is licensed under Mulan PSL v2. // You can use this software according to the terms and conditions of the Mulan PSL v2. // You may obtain a copy of Mulan PSL v2 at: @@ -46,7 +46,7 @@ namespace Furion.Reflection internal static Assembly LoadAssembly(string path) { if (!File.Exists(path)) return default; - return AssemblyLoadContext.Default.LoadFromAssemblyPath(path); + return Assembly.LoadFrom(path); } ///