• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 

Startup Error - Could not load file or assembly 'ModernHomeUpdater.Core

Started by matt84, December 26, 2024, 11:43:20 PM

Previous topic - Next topic

matt84

Patch My PC, on Windows 10 fully patched gives this error below on startup in the Windows Application Event Logs

The application fails to open

Application: PatchMyPC-HomeUpdater.exe
CoreCLR Version: 8.0.1124.51707
.NET Version: 8.0.11
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException: Could not load file or assembly 'ModernHomeUpdater.Core, Version=5.0.7.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'ModernHomeUpdater.Core, Version=5.0.7.0, Culture=neutral, PublicKeyToken=null'
   at ModernHomeUpdater.ClientApp.App.RegisterTypes(IContainerRegistry containerRegistry)
   at Prism.PrismApplicationBase.Initialize()
   at Prism.PrismApplicationBase.InitializeInternal()
   at Prism.PrismApplicationBase.OnStartup(StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   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)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at ModernHomeUpdater.ClientApp.App.Main()

Faulting application name: PatchMyPC-HomeUpdater.exe, version: 5.0.7.0, time stamp: 0x67110000
Faulting module name: KERNELBASE.dll, version: 10.0.19041.5198, time stamp: 0xd1eefc71
Exception code: 0xe0434352
Fault offset: 0x000000000003b699
Faulting process id: 0x52bc
Faulting application start time: 0x01db582a0ca78357
Faulting application path: C:\Program Files\Patch My PC\Patch My PC Home Updater\PatchMyPC-HomeUpdater.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 6fc42aa7-b22a-48f1-b81c-8802ee6fb39e
Faulting package full name:
Faulting package-relative application ID:

matt84

The ModernHomeUpdater.Core namespace is in the entry point PatchMyPc-HomeUpdater executable according to JetBrains dotPeek. Why is your Dependency Injection setup trying to load it from a file?