Open regolas opened 4 months ago
@regolas yes please, post the repro
Repo is posted here https://github.com/regolas/UnoCodeError
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. We don't monitor discussions on closed issues thus please open a new GitHub issue if you need the team to revisit this matter.
Current behavior
Error occurs on build in VS 2022 and VSCode. Trying to build windows desktop first. DOTNET build fails on CLI for this issue. Severity Code Description Error (active) CS0433 The type 'CoreWebView2' exists in both 'Microsoft.Web.WebView2.Core, Version=1.0.1264.42, Culture=neutral, PublicKeyToken=2a8ab48044d2601e' and 'Uno.UI, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null'
Project File Line tUNO (net8.0-android) C:\Code\tUNO\tUNO\obj\Debug\net8.0-android\Uno.UI.SourceGenerators\Uno.UI.SourceGenerators.BindableTypeProviders.BindableTypeProvidersSourceGenerator\BindableMetadata.g.cs
Line 14326
Expected behavior
Build should be normal. All usings appear to be correct
How to reproduce it (as minimally and precisely as possible)
Code.zip
Workaround
No response
Works on UWP/WinUI
No
Environment
No response
NuGet package version(s)
Id Versions ProjectName
Uno.UI.Adapter.Microsoft.Extensi... {5.2.175} tUNO
Uno.Resizetizer {1.4.9} tUNO
Uno.WinUI.Skia.Linux.FrameBuffer {5.2.175} tUNO
Uno.WinUI.Skia.X11 {5.2.175} tUNO
Uno.WinUI.Skia.Wpf {5.2.175} tUNO
Uno.WinUI.Skia.MacOS {5.2.175} tUNO
Microsoft.UI.Xaml {2.8.6} tUNO
Uno.WinUI.DevServer {5.2.175} tUNO
Uno.WinUI {5.2.175} tUNO
Microsoft.Extensions.Logging.Con... {8.0.0} tUNO
Microsoft.NET.ILLink.Tasks {8.0.7} tUNO
Uno.Extensions.Logging.OSLog {1.7.0} tUNO
Microsoft.Windows.SDK.BuildTools {10.0.22621.3233} tUNO
Uno.Core.Extensions.Logging.Sing... {4.0.1} tUNO
Microsoft.WindowsAppSDK {1.5.240404000} tUNO
Xamarin.Google.Android.Material {1.10.0.3} tUNO
Xamarin.AndroidX.Legacy.Support.V4 {1.0.0.23} tUNO
Xamarin.AndroidX.Activity {1.8.2.1} tUNO
Xamarin.AndroidX.SwipeRefreshLayout {1.1.0.18} tUNO
Uno.UniversalImageLoader {1.9.36} tUNO
Xamarin.AndroidX.Browser {1.8.0} tUNO
Xamarin.AndroidX.RecyclerView {1.3.2.2} tUNO
Xamarin.AndroidX.AppCompat {1.6.1.7} tUNO
Microsoft.Windows.Compatibility {8.0.4} tUNO
Uno.Extensions.Logging.WebAssemb... {1.7.0} tUNO
Uno.WinUI.WebAssembly {5.2.175} tUNO
Uno.Wasm.Bootstrap {8.0.15} tUNO
Uno.Wasm.Bootstrap.DevServer {8.0.15}
Affected platforms
Build tasks
IDE
Visual Studio 2022, Visual Studio Code
IDE version
VS2022 - 17.10.4; VS Code - Latest
Relevant plugins
No response
Anything else we need to know?
I can post the code to a repo if you require it