Exception:找不到方法:“System.TimeSpan System.TimeSpan.FromSEconds(Double)”。

报错信息

MissingMethodException
   在 Ninject.NinjectSettings.get_CachePruningInterval()
   在 Ninject.Activation.Caching.GarbageCollectionCachePruner.GetTimeoutInMilliseconds()
   在 Ninject.Activation.Caching.GarbageCollectionCachePruner.Start(IPruneable pruneable)
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 Ninject.Infrastructure.Language.ExtensionsForTargetInvocationException.RethrowInnerException(TargetInvocationException exception)
   在 Ninject.Components.ComponentContainer.CreateNewInstance(Type component, Type implementation)
   在 Ninject.Components.ComponentContainer.ResolveInstance(Type component, Type implementation)
   在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   在 System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   在 System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   在 Ninject.Components.ComponentContainer.CreateNewInstance(Type component, Type implementation)
   在 Ninject.Components.ComponentContainer.ResolveInstance(Type component, Type implementation)
   在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   在 System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   在 System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   在 Ninject.Components.ComponentContainer.CreateNewInstance(Type component, Type implementation)
   在 Ninject.Components.ComponentContainer.ResolveInstance(Type component, Type implementation)
   在 Ninject.Components.ComponentContainer.Get[T]()
   在 Ninject.KernelBase.CreateContext(IRequest request, IBinding binding)
   在 Ninject.KernelBase.Resolve(IRequest request, Boolean handleMissingBindings, Boolean filterImplicitBindings)
   在 Quicker.App.A8UsdbwtXF()
   在 Quicker.App.<StartupApplicationAsync>d__12.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 Quicker.App.<ApplicationStart>d__10.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) 

解决方法

暂无解决方案。

相关信息
0 查看
2025-06-01 21:34
Quicker版本
版本 反馈次数