编译的时候不能Load #361
编译的时候不能Load
#361
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
背景:我写了一个插件(见如下代码中THGFJYFunctions.dll),然后写了一个调用插件的expression,但是调用插件方法的时候报错:System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Extensions.Caching.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. 我在插件中使用了缓存,各种方法都已经试过了,比如预热不加载,手动AssemblyDependencyResolver加载;使用Default域中默认程序集也不行;那这里加载不了大概是啥原因呢?
代码如下:
NatashaManagement.Preheating();
Beta Was this translation helpful? Give feedback.
All reactions