-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
UWP: "In foreground" context warning + not working #3249
Comments
Some more context: The code was introduced in this PR: c0e9a3d I copied the code and executed it in both a UWP and a WinUI3 / WinAppSDK app:
Perhaps, on UWP the |
Thanks so much for the sleuthing @tipa ! |
We can't use It looks like the original issue with At this point, I can't see an easy way around this one... @bitsandfoxes @vaind any ideas? |
If there's no easy solution to the problem, setting the Foreground context could just be disabled on UWP so that at least the build warning disappears? If a developer wants to add the information, he could still enrich the event himself |
I think this is the way to go. |
We discussed maybe just suppressing the waring via |
Package
Sentry
.NET Flavor
.NET
.NET Version
.NET Standard 2.0
OS
Windows
SDK Version
4.2.1
Self-Hosted Sentry Version
No response
Steps to Reproduce
Expected Result
Actual Result
The text was updated successfully, but these errors were encountered: