CoolCat
CoolCat copied to clipboard
第二次加载插件的时候 如果插件引用的包有额外引用会报找不到xxxdll
我把DefaultReferenceLoader下LoadStreamsIntoContext方法改成如下所示,问题解决 if (stream != null) { _logger.LogDebug($"Found the cached reference '{name}' v.{version}"); Assembly referenceAssembly = context.LoadFromStream(stream); LoadStreamsIntoContext(context, moduleFolder, referenceAssembly); }