[fix] 修复 ReversePInvokeWrap生成不必要地解析referenced dll,导致如果有aot dll引用了netstandard会出现解析错误的bug
parent
05a34d4d12
commit
f51c2803c1
|
@ -35,7 +35,7 @@ namespace HybridCLR.Editor.ReversePInvokeWrap
|
||||||
{
|
{
|
||||||
foreach(var assemblyName in assemblyNames)
|
foreach(var assemblyName in assemblyNames)
|
||||||
{
|
{
|
||||||
_rootModules.Add(cache.LoadModule(assemblyName));
|
_rootModules.Add(cache.LoadModule(assemblyName, false));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue