GoldRenard / DMOAdvancedLauncher

Advanced launcher for Digimon Masters Online (DMO)
16 stars 9 forks source link

System.Runtime.CompilerServices.AsyncStateMachineAttribute TypeLoadException #61

Closed GoldRenard closed 8 years ago

GoldRenard commented 8 years ago

Wrong .NET version?

Error Reason:
----------------------------------------
AdvancedLauncher.exe caused TypeLoadException (Could not load type 'System.Runtime.CompilerServices.AsyncStateMachineAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.) in assembly "mscorlib" at NATIVE:0, System.Void System.ModuleHandle.ResolveType(System.Reflection.RuntimeModule module, System.Int32 typeToken, System.IntPtr* typeInstArgs, System.Int32 typeInstCount, System.IntPtr* methodInstArgs, System.Int32 methodInstCount, System.Runtime.CompilerServic

CLR Stack Trace: Interrupted Thread, TID: 13
----------------------------------------
"mscorlib" at NATIVE:0, System.Void System.ModuleHandle.ResolveType(System.Reflection.RuntimeModule module, System.Int32 typeToken, System.IntPtr* typeInstArgs, System.Int32 typeInstCount, System.IntPtr* methodInstArgs, System.Int32 methodInstCount, System.Runtime.CompilerServic
"mscorlib" at IL:179, NATIVE:403, System.RuntimeType System.ModuleHandle.ResolveTypeHandleInternal(System.Reflection.RuntimeModule module, System.Int32 typeToken, System.RuntimeTypeHandle[] typeInstantiationContext, System.RuntimeTypeHandle[] methodInstantiationContext)
"mscorlib" at IL:14, NATIVE:19, System.RuntimeTypeHandle System.ModuleHandle.ResolveTypeHandle(System.Int32 typeToken, System.RuntimeTypeHandle[] typeInstantiationContext, System.RuntimeTypeHandle[] methodInstantiationContext)
"mscorlib" at IL:232, NATIVE:315, System.Type System.Reflection.RuntimeModule.ResolveType(System.Int32 metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments)
"mscorlib" at IL:83, NATIVE:203, System.Boolean System.Reflection.CustomAttribute.FilterCustomAttributeRecord(System.Reflection.CustomAttributeRecord caRecord, System.Reflection.MetadataImport scope, System.Reflection.Assembly& lastAptcaOkAssembly, System.Reflection.RuntimeModule decorat
"mscorlib" at IL:96, NATIVE:693, System.Boolean System.Reflection.CustomAttribute.IsCustomAttributeDefined(System.Reflection.RuntimeModule decoratedModule, System.Int32 decoratedMetadataToken, System.RuntimeType attributeFilterType, System.Boolean mustBeInheritable)
"mscorlib" at IL:31, NATIVE:84, System.Boolean System.Reflection.CustomAttribute.IsDefined(System.Reflection.RuntimeMethodInfo method, System.RuntimeType caType, System.Boolean inherit)
"System.Core" at IL:44, NATIVE:149, System.Boolean System.Linq.Enumerable.Any(System.Collections.Generic.IEnumerable`1[TSource] source, System.Func`2[TSource,System.Boolean] predicate)
"System.Core" at IL:43, NATIVE:84, System.Boolean System.Linq.Enumerable+WhereArrayIterator`1[TSource].MoveNext()
"Ninject" at IL:67, NATIVE:248, System.Void Ninject.Planning.Strategies.MethodReflectionStrategy.Execute(Ninject.Planning.IPlan plan)
"Ninject" at IL:16, NATIVE:136, System.Void Ninject.Infrastructure.Language.ExtensionsForIEnumerableOfT.Map(System.Collections.Generic.IEnumerable`1[T] series, System.Action`1[T] action)
"Ninject" at IL:102, NATIVE:352, Ninject.Planning.IPlan Ninject.Planning.Planner.CreateNewPlan(System.Type type)
"Ninject" at IL:46, NATIVE:120, Ninject.Planning.IPlan Ninject.Planning.Planner.GetPlan(System.Type type)
"Ninject" at IL:95, NATIVE:271, System.Object Ninject.Activation.Providers.StandardProvider.Create(Ninject.Activation.IContext context)
"Ninject" at IL:40, NATIVE:138, System.Object Ninject.Activation.Context.ResolveInternal(System.Object scope)
"Ninject" at IL:65, NATIVE:253, System.Object Ninject.Activation.Context.Resolve()
"System.Core" at IL:98, NATIVE:265, System.Boolean System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext()
"System.Core" at IL:112, NATIVE:296, System.Boolean System.Linq.Enumerable+<CastIterator>d__b1`1[TResult].MoveNext()
"System.Core" at IL:70, NATIVE:282, TSource System.Linq.Enumerable.Single(System.Collections.Generic.IEnumerable`1[TSource] source)
"AdvancedLauncher" at IL:111, NATIVE:467, System.Void AdvancedLauncher.Management.EnvironmentManager.InitializeSafeSettings(AdvancedLauncher.Model.Protected.ProtectedSettings settings)
"AdvancedLauncher" at IL:229, NATIVE:565, System.Void AdvancedLauncher.Management.EnvironmentManager.Initialize()
"Ninject" at IL:16, NATIVE:136, System.Void Ninject.Infrastructure.Language.ExtensionsForIEnumerableOfT.Map(System.Collections.Generic.IEnumerable`1[T] series, System.Action`1[T] action)
"Ninject" at IL:16, NATIVE:136, System.Void Ninject.Infrastructure.Language.ExtensionsForIEnumerableOfT.Map(System.Collections.Generic.IEnumerable`1[T] series, System.Action`1[T] action)
"Ninject" at IL:201, NATIVE:367, System.Object Ninject.Activation.Context.ResolveInternal(System.Object scope)
"Ninject" at IL:65, NATIVE:253, System.Object Ninject.Activation.Context.Resolve()
"System.Core" at IL:98, NATIVE:265, System.Boolean System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext()
"System.Core" at IL:112, NATIVE:296, System.Boolean System.Linq.Enumerable+<CastIterator>d__b1`1[TResult].MoveNext()
"System.Core" at IL:70, NATIVE:282, TSource System.Linq.Enumerable.Single(System.Collections.Generic.IEnumerable`1[TSource] source)
"AdvancedLauncher" at IL:62, NATIVE:194, System.Void AdvancedLauncher.App.Application_Startup(System.Object sender, System.Windows.StartupEventArgs e)
"PresentationFramework" at IL:15, NATIVE:216, System.Object System.Windows.Application.<.ctor>b__1(System.Object unused)
"WindowsBase" at IL:123, NATIVE:261, System.Object System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, System.Object args, System.Int32 numArgs)
"WindowsBase" at IL:17, NATIVE:71, System.Object MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object source, System.Delegate method, System.Object args, System.Int32 numArgs, System.Delegate catchHandler)
"WindowsBase" at IL:155, NATIVE:363, System.Void System.Windows.Threading.DispatcherOperation.InvokeImpl()
"mscorlib" at IL:112, NATIVE:645, System.Void System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
"mscorlib" at IL:0, NATIVE:9, System.Void System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
"mscorlib" at IL:43, NATIVE:87, System.Void System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state)
"WindowsBase" at IL:32, NATIVE:99, System.Void System.Windows.Threading.DispatcherOperation.Invoke()
"WindowsBase" at IL:226, NATIVE:536, System.Void System.Windows.Threading.Dispatcher.ProcessQueue()
"WindowsBase" at IL:69, NATIVE:149, System.IntPtr System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled)
"WindowsBase" at IL:49, NATIVE:254, System.IntPtr MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled)
"WindowsBase" at IL:91, NATIVE:140, System.Object MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object o)
"WindowsBase" at IL:123, NATIVE:261, System.Object System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, System.Object args, System.Int32 numArgs)
"WindowsBase" at IL:17, NATIVE:71, System.Object MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object source, System.Delegate method, System.Object args, System.Int32 numArgs, System.Delegate catchHandler)
"WindowsBase" at IL:155, NATIVE:363, System.Void System.Windows.Threading.DispatcherOperation.InvokeImpl()
"mscorlib" at IL:112, NATIVE:645, System.Void System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
"mscorlib" at IL:0, NATIVE:9, System.Void System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
"mscorlib" at IL:43, NATIVE:87, System.Void System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state)
"WindowsBase" at IL:32, NATIVE:99, System.Void System.Windows.Threading.DispatcherOperation.Invoke()
"WindowsBase" at IL:38, NATIVE:151, System.Object System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherOperation operation, System.Threading.CancellationToken cancellationToken, System.TimeSpan timeout)
"WindowsBase" at IL:152, NATIVE:309, System.Object System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, System.Object args, System.Int32 numArgs)
"WindowsBase" at IL:297, NATIVE:572, System.IntPtr MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam)
"WindowsBase" at NATIVE:0, System.IntPtr MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG& msg)
"WindowsBase" at IL:72, NATIVE:288, System.Void System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame)
"PresentationFramework" at IL:36, NATIVE:83, System.Object System.Windows.Application.RunDispatcher(System.Object ignore)
"PresentationFramework" at IL:240, NATIVE:418, System.Int32 System.Windows.Application.RunInternal(System.Windows.Window window)
"AdvancedLauncher" at IL:5, NATIVE:232, System.Void AdvancedLauncher.App.Main()
GoldRenard commented 8 years ago

Yeah, someone tried to execute launcher over .NET 4.0. There is no async await support, soo...