question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] [L] Support for Windows WinUI 3 desktop apps

See original GitHub issue

The 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…

  1. First set up dev environment (install Reunion VSIX): https://docs.microsoft.com/en-us/windows/apps/project-reunion/set-up-your-development-environment
  2. Then create a WinUI desktop app: https://docs.microsoft.com/en-us/windows/apps/winui/winui3/get-started-winui3-for-desktop
  3. Then add the Microsoft.Identity.Client NuGet package to the app and attempt to build and run the app

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:31 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
andrewleadercommented, Oct 12, 2021

@bgavrilMS you can use 1.0.0-preview2 of the WinAppSDK, that has the fix and is publicly available now.

0reactions
baskrencommented, Feb 9, 2023

Here is the bug : https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/3941 Why it’s closed is a mystery to me.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found