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