CoreWebView2WebErrorStatus exists in both Microsoft.Web.WebView2.Core and Microsoft.WinUI #4633
Closed
1 of 3 tasks
Labels
bug
The issue relates to the wizard not working or a problem with the generated code.
Needs: Triage 🔍
Describe the bug
I get this error message for any usage of the
CoreWebView2WebErrorStatus
enum:The type 'CoreWebView2WebErrorStatus' 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'
It looks like
Microsoft.EntityFrameworkCore.SqlServer
has an indirect dependency onMicrosoft.Web.WebView2
where the WinUI assembly copied from and now the same type exists twice:Could you help me to fingerpoint to the correct originator? Thanks alot!
To Reproduce
Core
project.PM> Install-Package Microsoft.EntityFrameworkCore.SqlServer
Additional context
It worked with the wizard 5.2.1 who used .NET 6.
I'm pretty sure this is a duplicate of microsoft/microsoft-ui-xaml#5689.
Applies to the following platforms:
About your setup
The text was updated successfully, but these errors were encountered: