Skip to content

UWP .NET 9 Support? #5144

@myokeeh

Description

@myokeeh

References: https://devblogs.microsoft.com/ifdef-windows/preview-uwp-support-for-dotnet-9-native-aot/

GA of New UWP .NET 9 project templates 📣: https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes#desktop

I've stuck to 4.60.4 since that's the last version that supported my UWP apps. Now that I can update my UWP apps to .NET 9, am I able to use the latest versions again?

I get an exception with the following message with any version higher than 4.60.4.

Only loopback redirect uri is supported, but https://[redacted].azurewebsites.net/.auth/login/done was found. Configure http://localhost or http://localhost:port both during app registration and when you create the PublicClientApplication object. See https://aka.ms/msal-net-os-browser for details

If I specify the http://localhost redirect URI, I get the following popup:

---------------------------
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
---------------------------
Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item.
---------------------------
OK   
---------------------------

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions