try to use this sample with a WinUI 3 project template, it just isn't applicable
Expected/desired behavior
OS and Version?
Windows 10, 11
Versions
WinUI 3 & .Net Core 8.0
Mention any other details that might be useful
Just one example of an issue.
consider the .WithWindowsEmbeddedBrowserSupport()
extension
Unfortunately that requires adding the Microsoft.Identity.Client.Desktop nuget package and currently when attempting to add that library to a WinUI 3 project you will get the following error:
The type 'CoreWebView2NavigationCompletedEventArgs' exists in both 'Microsoft.Web.WebView2.Core, Version=1.0.864.35, Culture=neutral, PublicKeyToken=2a8ab48044d2601e' and 'Microsoft.WinUI, Version=3.0.0.0, Culture=neutral, PublicKeyToken=de31ebe4ad15742b'
This is due to a namespace collision between the WebView2 system that is referenced in the nuget package and the WinUI 3 system which has its own integrated WebView2 system.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
Just one example of an issue.
consider the
.WithWindowsEmbeddedBrowserSupport()
extensionUnfortunately that requires adding the Microsoft.Identity.Client.Desktop nuget package and currently when attempting to add that library to a WinUI 3 project you will get the following error:
This is due to a namespace collision between the WebView2 system that is referenced in the nuget package and the WinUI 3 system which has its own integrated WebView2 system.