[WASM] Issues when trying latest UNO 4.X with WindowsAppSdk + .NET 6 (+ VS2022) #7723
Replies: 7 comments 24 replies
-
Thanks Dierk. We should try to avoid issues bundling as it makes it difficult to follow on conversations. I`ll answer in different sections of the discussion. |
Beta Was this translation helpful? Give feedback.
-
About WrapPanel, can you post the actual XAML you are using? |
Beta Was this translation helpful? Give feedback.
-
This is a Visual Studio-only false error that we cannot troubleshoot at this point. It does not affect the build or execution of projects. |
Beta Was this translation helpful? Give feedback.
-
This is fixed in Uno 4.1 builds, we'll backport the fix to 4.0 soon so that less errors incorrectly show up. |
Beta Was this translation helpful? Give feedback.
-
This is an unknown error at this point, Let's follow up here: #7724 |
Beta Was this translation helpful? Give feedback.
-
Let's track this here: #7725 |
Beta Was this translation helpful? Give feedback.
-
We actually included more of those in Uno 4.0.x (XAML is now included). Are |
Beta Was this translation helpful? Give feedback.
-
I encounter these issues when using the official UNO WASM template or after migrating a personal test project to UNO 4.X + WindowsAppSdk + .NET 6
I get this error
However, .NET6 + WindowsAppSDK does not have any 'Microsoft.UI.Xaml.Controls.WrapPanel' class (AFAIK). Why am I getting that error?
The WASM project holds a reference Dependencies/Frameworks/Microsoft.AspNetCore.App which has a warning sign on it. Not sure why?!? How could I remove that?
There is a NuGet package Microsoft.Windows.Compatibility 5.0.0 referenced. This package could not be removed nor updated (there is a 6.0.0 available). How could that reference be removed? If I really needed it: how could it be updated?
I get gazillions of warnings like these in the browser console. How could those be resolved?
I recall @jeromelaban and I had a conversation about those warnings: they only would show in DEBUG mode. However, since the warnings suggest performance impact: is there a way to properly resolve the underlying issues and/or get rid of warnings even in DEBUG mode?
attribute on them. However, these classes implement an interface and the instances of those classes are references by the interface they implement ... not sure if that makes a difference.
How could those be resolved?
How could those be resolved?
How could those be resolved?
Also: When migrating my legacy project to latest UNO 4.X I no longer get any 'not supported' compile warnings (before I got tons of them). I would be more than happy if this would be factual, however I'm suspicious that these warnings might be turned off. Is there something I should check to make sure these compile time warnings are ON?
Beta Was this translation helpful? Give feedback.
All reactions