From a609b21968b259046c80655ec17a1e0034d8b871 Mon Sep 17 00:00:00 2001 From: YaChengMu <1140049363@qq.com> Date: Thu, 14 Oct 2021 11:07:08 +0000 Subject: [PATCH] =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E8=B7=AF=E5=BE=84=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E7=A8=8B=E5=BA=8F=E9=9B=86Bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- framework/Furion/Reflection/Reflect.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/Furion/Reflection/Reflect.cs b/framework/Furion/Reflection/Reflect.cs index 592fef93b9..1ceba42ed9 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); } /// -- Gitee