Skip to content

Deprecate UWP for v6 #4497

@jamescrosswell

Description

@jamescrosswell

Description

As of October 2021, Microsoft officially deprecated UWP

For version 6, we'll be deprecating UWP in the Sentry SDK for .NET.

I think this is mostly about updating the Sentry docs.

There are a couple of comments in the code that we might want to update as well:

// This integration is for WinUI 3. It does NOT work for UWP (WinUI 2).
// For UWP, the calling application will need to hook the event handler.
// See https://docs.sentry.io/platforms/dotnet/guides/uwp/
// (We can't do it automatically without a separate UWP class library,
// due to a security exception when attempting to attach the event dynamically.)

// GetWindowThreadProcessId is only available in the Windows SDK, so trying to call this from UWP apps will fail.
// We wrap use of this in a try/catch as a workaround. However, we need `ExactSpelling = true` here to suppress
// warnings about the use of this API when compiling UWP applications.

"WinRT", // WinRT, UWP, WinUI

Metadata

Metadata

Labels

.NETPull requests that update .net codeDocs

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions