sentry-dotnet icon indicating copy to clipboard operation
sentry-dotnet copied to clipboard

Sentry package for WinUI 3 apps

Open bruno-garcia opened this issue 1 year ago • 4 comments

Suggestion:

Package named Sentry.UI.Xaml that depend on Microsoft.UI.Xaml and targets netstandard2.0 (or should/has to be: uap10.0)?

Add specific info that can be read with native APIs:

  • https://github.com/getsentry/sentry-dotnet/issues/3260
  • https://github.com/getsentry/sentry-dotnet/issues/3313
  • https://github.com/getsentry/sentry-dotnet/issues/285#issuecomment-2471605363 (get device info)

Resolves (if we can get sentry-native to work there, as it does on Native AOT):

  • https://github.com/getsentry/sentry-dotnet/issues/3244

Have the Sentry.Maui depend on it if target is uap10.0, (should this also be available on netX.0-windows?)

  • https://github.com/getsentry/sentry-dotnet/issues/3706

See also

bruno-garcia avatar Oct 27 '24 18:10 bruno-garcia

See my comment https://github.com/getsentry/sentry-dotnet/issues/2076#issuecomment-2440130964: there is WinUI 2, which is using UWP and .NET Native; and there is now WinUI 3, which is decoupled from the OS and can run in any C#/C++ Win32 app.

whiskhub avatar Oct 27 '24 18:10 whiskhub

possibly a dupe of:

  • https://github.com/getsentry/sentry-dotnet/issues/3347

bruno-garcia avatar May 27 '25 17:05 bruno-garcia

Not 100% a dupe: the other issue was talking about UWP specifically, while this issue is about "WinUI" - both WinUI 2 on UWP and WinUI 3 on Win32? (see https://github.com/getsentry/sentry-dotnet/issues/2076#issuecomment-2440130964)

whiskhub avatar May 27 '25 19:05 whiskhub

I've renamed both of the issues to "re-scope" them somewhat. The other issue I've named "Support UWP / WinUI 2" and this one I've clarified to be about "WinUI 3".

I think it makes sense to keep those separate.

jamescrosswell avatar May 27 '25 23:05 jamescrosswell