CoolCat icon indicating copy to clipboard operation
CoolCat copied to clipboard

第二次加载插件的时候 如果插件引用的包有额外引用会报找不到xxxdll

Open Bruno-Q opened this issue 3 years ago • 0 comments

我把DefaultReferenceLoader下LoadStreamsIntoContext方法改成如下所示,问题解决 if (stream != null) { _logger.LogDebug($"Found the cached reference '{name}' v.{version}"); Assembly referenceAssembly = context.LoadFromStream(stream); LoadStreamsIntoContext(context, moduleFolder, referenceAssembly); }

Bruno-Q avatar Apr 02 '21 15:04 Bruno-Q