Closed nelsonhp3 closed 1 year ago
Given .NET 5 is no longer supported (libs target .NET 6, which is LTS) I leave it to others to comment / investigate.
I'm not sure I understand what you change the nuget reference to, the lib now uses Microsoft.Web.WebView2
, previously it used Microsoft.Toolkit.Wpf.UI.Controls.WebView
which is no longer maintained
Sorry, I didn't see the #180 commit🤦♂️
But now I'm having this issue:
I just restarted Visual Studio and now it's working. But i'm still wonder about this error.
When building
Auth.WPF.Sample
with.Net 5.0
it gives this error:Microsoft.Toolkit.Wpf.UI.Controls.WebView.dll cannot be referenced because it uses built-in support for WinRT, which is no longer supported in .NET 5 and higher. An updated version of the component supporting .NET 5 is needed
I've changed the NuGet package
Microsoft.Toolkit.Forms.UI.Controls.WebView
toMicrosoft.Web.WebView2
and made these changes:And this was the result:
What can we make to
Auth.UI.WPF
work with .Net5.0?