每次启动提示遇到未能捕获的异常:Could not load file or assembly 'System.Runtime.InteropServices.WindowsRunt 尝试忽略错误后能使用。软件版本1.43.57,系统Windows 11 IoT 企业版 LTSC 版本号24H2
调试信息如下:
BadImageFormatException: Could not load file or assembly 'System.Runtime.InteropServices.WindowsRuntime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest.
--Message: Could not load file or assembly 'System.Runtime.InteropServices.WindowsRuntime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest.
--FileName: System.Runtime.InteropServices.WindowsRuntime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
--FusionLog: WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
StackTrace:
at DN2UBpm39HJPMxajFQk.hiTKsaml4sk8l9pIIQf..ctor()
at PUGbP2mJGGDRxoIC1Bf.RuUqgtms91qbNpufIlD.qyDCFq8deNa()
at PUGbP2mJGGDRxoIC1Bf.RuUqgtms91qbNpufIlD..ctor()
at gtENfMsZZ0hYaOqFRDj.u03CelsKGEV79yWHGb3.nt5WdCkGp6w()
at gtENfMsZZ0hYaOqFRDj.u03CelsKGEV79yWHGb3..ctor(ITinyMessengerHub )
at DynamicInjector935a9f9af7e544dd8d84382f9e889b53(Object[] )
at Ninject.Activation.Context.ResolveInternal(Object scope)
at Ninject.Activation.Context.Resolve()
at Ninject.KernelBase.Resolve(IRequest request, Boolean handleMissingBindings, Boolean filterImplicitBindings)
at Quicker.App.<StartupApplicationAsync>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Quicker.App.<ApplicationStart>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)