修复 IIS重启 API失败的bug
This commit is contained in:
1 parent
6c955af70a
commit
1535c9d781
1 file changed
+2
-1
@@ -1,5 +1,6 @@
|
|||||||
using MAX.Core.Reflections;
|
using MAX.Core.Reflections;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
using System.Web;
|
||||||
|
|
||||||
namespace Store.Framework.Commons
|
namespace Store.Framework.Commons
|
||||||
{
|
{
|
||||||
@@ -13,7 +14,7 @@ namespace Store.Framework.Commons
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public override List<Assembly> GetAssemblies()
|
public override List<Assembly> GetAssemblies()
|
||||||
{
|
{
|
||||||
LoadAssemblies(Environment.CurrentDirectory);
|
LoadAssemblies(HttpRuntime.BinDirectory);
|
||||||
return GetAssembliesFromCurrentAppDomain();
|
return GetAssembliesFromCurrentAppDomain();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user