BadImageFormatException: 试图加载格式不正确的程序。 (异常来自 HRESULT:0x8007000B) --Message: 试图加载格式不正确的程序。 (异常来自 HRESULT:0x8007000B) StackTrace: 在 System.Reflection.MetadataImport._GetParentToken(IntPtr scope, Int32 mdToken, Int32& tkParent) 在 System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) 在 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) 在 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit) 在 System.Attribute.GetCustomAttributes(MemberInfo element, Type type, Boolean inherit) 在 System.Attribute.GetCustomAttribute(MemberInfo element, Type attributeType, Boolean inherit) 在 System.Reflection.CustomAttributeExtensions.GetCustomAttribute[T](MemberInfo element, Boolean inherit) 在 Ninject.Infrastructure.Language.ExtensionsForMemberInfo.IsDefined(PropertyInfo element, Type attributeType, Boolean inherit) 在 Ninject.Selection.Heuristics.StandardInjectionHeuristic.ShouldInject(MemberInfo member) 在 System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate) 在 System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() 在 System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) 在 Ninject.Selection.Selector.SelectPropertiesForInjection(Type type) 在 Ninject.Planning.Strategies.PropertyReflectionStrategy.Execute(IPlan plan) 在 Ninject.Infrastructure.Language.ExtensionsForIEnumerableOfT.Map[T](IEnumerable`1 series, Action`1 action) 在 Ninject.Planning.Planner.CreateNewPlan(Type type) 在 Ninject.Planning.Planner.GetPlan(Type type) 在 Ninject.Activation.Providers.StandardProvider.Create(IContext context) 在 Ninject.Activation.Context.ResolveInternal(Object scope) 在 Ninject.Activation.Context.Resolve() 在 Ninject.KernelBase.Resolve(IRequest request, Boolean handleMissingBindings, Boolean filterImplicitBindings) 在 Quicker.App.mUwHi44RYr() 在 Quicker.App.<StartupApplicationAsync>d__17.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 Quicker.App.<ApplicationStart>d__15.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)