我想动态加载JTLwawiExtern.dll
,我设置了Local Copy=false
现在,我无法初始化object CTLwawiExtern
以便导出。
public static CJTLwawiExtern GJTLwawiExtern = null;
JTLExtern.ValidateAssembly worker = new JTLExtern.ValidateAssembly();
bool IsValidAssembly = worker.ValidateAndLoadAssemblys();
if (IsValidAssembly)
{
CJTLwawiExtern GJTLwawiExtern = new CJTLwawiExtern();
return GJTLwawiExtern;
}
public static CJTLwawiExtern GJTLwawiExtern = null;
对象GJTLwawiExtern要初始化。