This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Garmin Express & Windows 11

Garmin Express on Windows 11:

Garmin Express works normally on the base image with no software installed after installing .NET 3.0  & 3.5 libraries as required during install.

My developer's workstation with Windows 11 and Visual Studio 2022 Preview does not work. Logs contain the following issues:

C:\ProgramData\Garmin\Logs\Express\Expresss.log:

6567.log.txt
2021-06-30 15:11:17.4655 | 1 | E | Client Version: 7.7.0.0
2021-06-30 15:11:17.4655 | 1 | E | Unhandled Exception
System.BadImageFormatException: Could not load file or assembly 'CefSharp.Core.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
File name: 'CefSharp.Core.dll'
at Garmin.Omt.Express.App.<Application_Startup>d__15.MoveNext()
at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at Garmin.Omt.Express.App.Application_Startup(Object sender, StartupEventArgs e)
at System.Windows.Application.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 Garmin.Omt.Express.App.<Application_Startup>d__15.MoveNext()
at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at Garmin.Omt.Express.App.Application_Startup(Object sender, StartupEventArgs e)
at System.Windows.Application.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)
2021-06-30 15:13:58.2554 | 1 | I | Client instance launched with command args:
2021-06-30 15:20:23.5537 | 2 | E | Exception thrown by unobserved task.
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Garmin.Omt.Express.App.<ProcessUnhandledExceptionAsync>d__20.MoveNext()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at Garmin.Omt.Express.App.<ProcessUnhandledExceptionAsync>d__20.MoveNext()<---

2021-06-30 15:20:23.5537 | 2 | E | Exception thrown by unobserved task.
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Garmin.Omt.Express.App.HandleCommandLineArgs(String[] args)
at Garmin.Omt.Express.Program.IpcRemoteService.<>c__DisplayClass0_0.<InvokeFirstInstance>b__0()
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at Garmin.Omt.Express.App.HandleCommandLineArgs(String[] args)
at Garmin.Omt.Express.Program.IpcRemoteService.<>c__DisplayClass0_0.<InvokeFirstInstance>b__0()
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()<---
C:\ProgramData\Garmin\Logs\Express\ExpressDetailed.log

2021-06-30 15:11:17.4655 | 1 | E | App | Client Version: 7.7.0.0
2021-06-30 15:11:17.4655 | 1 | E | App | Unhandled Exception
System.BadImageFormatException: Could not load file or assembly 'CefSharp.Core.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
File name: 'CefSharp.Core.dll'
at Garmin.Omt.Express.App.<Application_Startup>d__15.MoveNext()
at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at Garmin.Omt.Express.App.Application_Startup(Object sender, StartupEventArgs e)
at System.Windows.Application.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 Garmin.Omt.Express.App.<Application_Startup>d__15.MoveNext()
at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at Garmin.Omt.Express.App.Application_Startup(Object sender, StartupEventArgs e)
at System.Windows.Application.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)
2021-06-30 15:13:58.2554 | 1 | I | App | Client instance launched with command args:
2021-06-30 15:20:23.5537 | 2 | E | App | Exception thrown by unobserved task.
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Garmin.Omt.Express.App.<ProcessUnhandledExceptionAsync>d__20.MoveNext()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at Garmin.Omt.Express.App.<ProcessUnhandledExceptionAsync>d__20.MoveNext()<---

2021-06-30 15:20:23.5537 | 2 | E | App | Exception thrown by unobserved task.
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Garmin.Omt.Express.App.HandleCommandLineArgs(String[] args)
at Garmin.Omt.Express.Program.IpcRemoteService.<>c__DisplayClass0_0.<InvokeFirstInstance>b__0()
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at Garmin.Omt.Express.App.HandleCommandLineArgs(String[] args)
at Garmin.Omt.Express.Program.IpcRemoteService.<>c__DisplayClass0_0.<InvokeFirstInstance>b__0()
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()<---