[Feature Request] [L] Support for Windows WinUI 3 desktop apps
See original GitHub issueThe Microsoft.Identity.Client library doesn’t support Windows WinUI 3 desktop Project Reunion apps today. I think the library is seeing the net5.0-windows
TFM and thinking it’s a WPF or WinForms app, and therefore doesn’t work with a WinUI 3 app (which is neither of those).
Describe the solution you’d like Microsoft.Identity.Client library works with WinUI 3 desktop apps.
Additional context To reproduce…
- First set up dev environment (install Reunion VSIX): https://docs.microsoft.com/en-us/windows/apps/project-reunion/set-up-your-development-environment
- Then create a WinUI desktop app: https://docs.microsoft.com/en-us/windows/apps/winui/winui3/get-started-winui3-for-desktop
- Then add the Microsoft.Identity.Client NuGet package to the app and attempt to build and run the app
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:31 (12 by maintainers)
Top Results From Across the Web
User interface migration (including WinUI 3) - Windows apps
This topic shows how to migrate your user interface (UI) code, including migrating to the Windows UI Library (WinUI) 3.
Read more >Windows UI Library (WinUI) - Windows apps
With support for both desktop and UWP apps, you can build with WinUI ... and interact with the WinUI where you can file...
Read more >Manage app windows (Windows App SDK)
This code example demonstrates how to retrieve an AppWindow from a WinUI 3 window. To use the example, create a new Blank App,...
Read more >Windows UI Library in the Windows App SDK (WinUI 3)
Provides info for WinUI 3 and Windows app development with the Windows App SDK. ... Use the WinUI repo, to file feature requests...
Read more >What's supported when migrating from UWP to WinUI 3
WinUI 3 and the Windows App SDK are new technologies and, when compared to UWP, there are some features that aren't supported.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bgavrilMS you can use 1.0.0-preview2 of the WinAppSDK, that has the fix and is publicly available now.
Here is the bug : https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/3941 Why it’s closed is a mystery to me.