[Bug] WebView2 inside Microsoft.Identity.Client.Desktop have conflicts with Microsoft.WinUI in latest WinAppSDK #4957
Labels
needs attention
Delete label after triage
public-client
untriaged
Do not delete. Needed for Automation
Library version used
4.65.0
.NET version
.NET 8
Scenario
PublicClient - desktop app
Is this a new or an existing app?
The app is in production, and I have upgraded to a new version of MSAL
Issue description and reproduction steps
.NET workload for maui-windows is updated lately and which have latest WinUI changes. If your Maui windows have reference for Microsoft.Identity.Client.Desktop and you are using embedded browser then your build stop building due to these issues
.NET SDK Version: 8.0.403
Maui Version: 8.0.82/8.0.100
Windows App SDK: 1.6.1 (1.6.240923002)
Here are the error logs
This issue can easily reproduced with this Azure Maui Sample
https://github.com/Azure-Samples/ms-identity-dotnetcore-maui
Tried workarounds
Added explicit app package reference from nuget
https://www.nuget.org/packages/Microsoft.WindowsAppSDK/1.6.240923002
with this its builds fine but then embedded browser never opens.
Relevant code snippets
Expected behavior
It should compile as expected and embedded browser work
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
No response
Solution and workarounds
No
The text was updated successfully, but these errors were encountered: