-
Notifications
You must be signed in to change notification settings - Fork 674
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
WinUI 0.5: Unexpected C++ exceptions. #4510
Comments
@Noemata could you provide a callstack as well? :) It could be a manifestation of an issue with MRT where trying to load a resource that doesn't exist returns an error where before it was treated as okay. Tough to say without a callstack. In that case it would be a known issue (although I'm not sure its on github). @alwu-msft FYI |
Here's the entire call stack, right up until the exception (I am curious why you wouldn't use the repo provided):
|
Note by using this repo: https://github.com/Noemata/FakePOS You have a direct A/B comparison between the same code in UWP (without WinUI) and WinUI desktop. 99% percent of the code is shared. I was quite impressed with WinUI 3 Preview 4 in terms of overall compatibility and its apparent momentum forward. Things have regressed in some areas with Reunion-0.5. Ultimately, I expect all but the namespace conditional code to work in this sample! I suggest you start lowering the bar for WinUI xx, and exceed expectations while you still can. I've given you Microsoft's own corporate LOB sample, packaged up more correctly as a migrated app. Use it. |
This repros on supported downlevel OSes 100%, would consider as a blocker for 3.0 GA. |
Hi @Noemata, you should see a fix for this bug in the upcoming WinUI 3/Project Reunion 0.8 Preview, which you can expect soon. Thanks for filing this! |
@anawishnoff , thank you. |
Describe the bug
WinUI 3 - Project Reunion 0.5, is generating C++ exceptions for a C# managed app.
With WinUI 3 Preview 4, I was not seeing any C++ exceptions for the same project that is now migrated over to 0.5.
Repo is located here: https://github.com/Noemata/FakePOS
Steps to reproduce the bug
Steps to reproduce the behavior:
Expected behavior
I was expecting the same behavior as I was seeing with WinUI 3 Preview 4.
I made the mistake of telling VS to load debug symbols. I think it may have affected my load/execution speed.
After disabling exceptions as shown below:
The exceptions are no longer thrown, but I was not seeing this before. Also, execution speed seems to be much slower now. Please advise.
Version Info
NuGet package version:
[WinUI 3 - Project Reunion 0.5 Preview: 0.5.0-prerelease]
Windows app type:
The text was updated successfully, but these errors were encountered: