命令运行bug修复
This commit is contained in:
@@ -189,7 +189,7 @@ namespace TestingModule.ViewModels
|
||||
{
|
||||
try
|
||||
{
|
||||
var assembly = Assembly.LoadFile(dllPath);
|
||||
var assembly = Assembly.LoadFrom(dllPath);
|
||||
Assemblies.Add(assembly);
|
||||
|
||||
// 加载对应的XML注释文件 (项目没有用到)
|
||||
|
||||
@@ -558,7 +558,7 @@ namespace UIShare
|
||||
{
|
||||
try
|
||||
{
|
||||
//instance = _devices.DeviceDic[targetType.Name];
|
||||
instance = _deviceManager.DeviceMap[targetType.Name];
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user