Replies: 1 comment 2 replies
-
It is possible to add try/catch or something here Contributions are welcome. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I know Windows PE is not directly supported, but maybe there is an easy fix for my problem.
I have an application that just crashes on startup - while initializing Avalonia. See the exception below.
Unhandled exception. System.Runtime.InteropServices.COMException (0x80040154): Class not registered (0x80040154 (REGDB_E_CLASSNOTREG)) at Avalonia.Win32.WinRT.NativeWinRTMethods.RoActivateInstance(IntPtr activatab1eC1assId) at Avalonia.Win32.WinRT.NativeWinRTMethods.CreateInstance[T](String fullName) at Avalonia.Win32.Win32PlatformSettings.GetColorValues() at Avalonia.Application.RegisterServices() at Avalonia.AppBuilder.SetupUnsafe() at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, ShutdownMode shutdownMode) at Netlnstall.Program.Main(String[] args)
I was able to trace it down to what seems like missing COM support (more precise combase.dll seems to be missing/not registered), but the winPE packages for COM support are installed...
Maybe someone here had a similar problem and has a solution. Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions