-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception Unhandled #1
Comments
Project was upgraded to WinAppSdk 1.2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.CreateInstanceT
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))
The text was updated successfully, but these errors were encountered: