Hello! Thank you for this sample reference.
I'm annoying how to solve the exception that reveals at invoking. I suppose the cause is that resources in Project Reunion were drastically changed to move to WindowsAppSDK. (Should I update them to 0.86 or WAS1.0 ?)
the below is the exception message. (for x64 compile on VS2022)
---- from here ----
System.Reflection.TargetInvocationException
HResult=0x80131604
Message=Exception has been thrown by the target of an invocation.
Source=System.Private.CoreLib
StackTrace:
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean wrapExceptions, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& hasNoDefaultCtor)
at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions)
at System.Activator.CreateInstance[T]()
at WinRT.WeakLazy`1.get_Value()
at Microsoft.UI.Xaml.Application._IApplicationStatics.get_Instance()
at Microsoft.UI.Xaml.Application.Start(ApplicationInitializationCallback callback)
at XamlBrewer.WinUI3.Navigation.Sample.Program.Main(String[] args) in C:\Users\355yamada\Documents\Visual Studio 2022\Projects\XamlBrewer.WinUI3.Navigation.Sample-master\XamlBrewer.WinUI3.Navigation.Sample\XamlBrewer.WinUI3.Navigation.Sample\obj\x64\Debug\net5.0-windows10.0.19041.0\App.g.i.cs:line 26
This exception was originally thrown at this call stack:
[External Code]
Inner Exception 1:
COMException: Class not registered (0x80040154 (REGDB_E_CLASSNOTREG))
Hello! Thank you for this sample reference. I'm annoying how to solve the exception that reveals at invoking. I suppose the cause is that resources in Project Reunion were drastically changed to move to WindowsAppSDK. (Should I update them to 0.86 or WAS1.0 ?) the below is the exception message. (for x64 compile on VS2022) ---- from here ---- System.Reflection.TargetInvocationException HResult=0x80131604 Message=Exception has been thrown by the target of an invocation. Source=System.Private.CoreLib StackTrace: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean wrapExceptions, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& hasNoDefaultCtor) at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions) at System.Activator.CreateInstance[T]() at WinRT.WeakLazy`1.get_Value() at Microsoft.UI.Xaml.Application._IApplicationStatics.get_Instance() at Microsoft.UI.Xaml.Application.Start(ApplicationInitializationCallback callback) at XamlBrewer.WinUI3.Navigation.Sample.Program.Main(String[] args) in C:\Users\355yamada\Documents\Visual Studio 2022\Projects\XamlBrewer.WinUI3.Navigation.Sample-master\XamlBrewer.WinUI3.Navigation.Sample\XamlBrewer.WinUI3.Navigation.Sample\obj\x64\Debug\net5.0-windows10.0.19041.0\App.g.i.cs:line 26
This exception was originally thrown at this call stack: [External Code]
Inner Exception 1: COMException: Class not registered (0x80040154 (REGDB_E_CLASSNOTREG))