04-02-2017, 05:00 PM
(03-31-2017, 07:34 PM)pjank42 Wrote: If you could check the theairline2.log file in your directory and attach the content here it would help
9-03-2017: 09:09 System.BadImageFormatException: Filen eller assemblyen 'TheAirlineProjectV2.Modules.MainMenu, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' eller en af dens afhængigheder kunne ikke indlæses. Modulet forventedes at indeholde et assemblymanifest.
Filnavn: 'TheAirlineProjectV2.Modules.MainMenu, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
ved TheAirlineProjectV2.Bootstrapper.ConfigureModuleCatalog()
ved Prism.Unity.UnityBootstrapper.Run(Boolean runWithDefaultConfiguration)
ved TheAirlineProjectV2.App.OnStartup(StartupEventArgs e)
ved System.Windows.Application.<.ctor>b__1_0(Object unused)
ved System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
ved System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
ved System.Windows.Threading.DispatcherOperation.InvokeImpl()
ved System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
ved System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
ved System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
ved MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
ved System.Windows.Threading.DispatcherOperation.Invoke()
ved System.Windows.Threading.Dispatcher.ProcessQueue()
ved System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
ved MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
ved MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
ved System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
ved System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
ved System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
ved MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
ved MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
ved System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
ved System.Windows.Application.RunDispatcher(Object ignore)
ved System.Windows.Application.RunInternal(Window window)
ved TheAirlineProjectV2.App.Main()
ved System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
ved System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
ved Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
ved System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
ved System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
ved System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
ved System.Threading.ThreadHelper.ThreadStart()
=== Tilstandsoplysninger om forudbinding ===
LOG: DisplayName = TheAirlineProjectV2.Modules.MainMenu, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file:///C:/Users/Christian/documents/visual studio 2015/Projects/TheAirlineProjectV2/TheAirlineProjectV2/bin/x64/Debug/
LOG: Første PrivatePath = NULL
Kalder assembly: TheAirlineProjectV2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: Denne binding starter i indlæsningskonteksten default.
LOG: Bruger programkonfigurationsfilen: C:\Users\Christian\documents\visual studio 2015\Projects\TheAirlineProjectV2\TheAirlineProjectV2\bin\x64\Debug\TheAirlineProjectV2.vshost.exe.Config
LOG: Bruger værtskonfigurationsfilen:
LOG: Bruger maskinkonfigurationsfil fra C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Politikken anvendes ikke på referencen på nuværende tidspunkt (privat, brugerdefineret, delvis eller placeringsbaseret assemblybinding).
LOG: Forsøger at hente nye URL-adresser file:///C:/Users/Christian/documents/visual studio 2015/Projects/TheAirlineProjectV2/TheAirlineProjectV2/bin/x64/Debug/TheAirlineProjectV2.Modules.MainMenu.DLL.
ERR: Konfigurationen af assemblyen mislykkedes (hr = 0x80131018). Testen afsluttedes.