System.TypeInitializationException: “VideoOS.Platform.SDK.Environment”的类型初始值设定项引发异常。—> Autofac.Core.DependencyResolutionException:激活 VideoOS.Platform.SDK.EnvironmentService → VideoOS.Platform.SDK.SDKEnvironmentManager 时引发异常。—> Autofac.Core.DependencyResolutionException:在类型“SDKEnvironmentManager”上调用构造函数“Void .ctor()”时引发异常。—> System.IO.FileLoadException: 未能加载文件或程序集“VideoOS.IdentityServer.Common, Version=24.1.0.0, Culture=neutral, PublicKeyToken=bc60fba4a7969f89”或它的某一个依赖项。另一个程序正在使用此文件,进程无法访问。(异常来自 HRESULT:0x80070020)
在 VideoOS.Platform.SDK.Server.ConnectionCheck..ctor()
在 VideoOS.Platform.SDK.Config.SiteInfoManager..ctor()
在 VideoOS.Platform.SDK.Platform.SDKEnvironmentManager..ctor()
在 lambda_method(Closure , Object[] )
在 Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() 位置 C:\projects\autofac\src\Autofac\Core\Activators\Reflection\ConstructorParameterBinding.cs:行号 129