FiveHair / TS3AudioBot-NetEaseCloudmusic-plugin-UNM

重构ZHANGTIANYAO1的TS3AudioBot网易云插件,支持Windows、Docker和Linux,支持无版权歌曲解锁。
31 stars 6 forks source link

!plugin load 时报错,加载文件路径不存在 #8

Closed maiuyh456 closed 7 months ago

maiuyh456 commented 8 months ago

2024-02-26 21:35:27.0603|ERROR|0|Plugin.StartInternal Plugin 'YunPlugin (BotPlugin)' failed to load: The type initializer for '' threw an exception.. System.TypeInitializationException: The type initializer for '' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Threading, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.

File name: 'System.Threading, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at Costura.AssemblyLoader.Attach() at .cctor()

--- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean wrapExceptions, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& hasNoDefaultCtor) at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions) at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at TS3AudioBot.Dependency.InjectorExtensions.TryCreate(IInjector injector, Type type, Object& obj) in C:\projects\ts3audiobot\TS3AudioBot\Dependency\InjectorExtensions.cs:line 69 at TS3AudioBot.Plugins.Plugin.CreatePluginObjects(IInjector injector, Type type, Boolean isStatic) in C:\projects\ts3audiobot\TS3AudioBot\Plugins\Plugin.cs:line 427 at TS3AudioBot.Plugins.Plugin.StartInternal(Bot bot) in C:\projects\ts3audiobot\TS3AudioBot\Plugins\Plugin.cs:line 369

maiuyh456 commented 8 months ago

我是Ubuntu 20.04

FiveHair commented 7 months ago

微信截图_20240407200050

Linux工作正常,请检查一下您的运行环境。