Any solution which uses WindowsAppSDK 1.5.X no longer builds after most recent VisualStudio update #18416
Replies: 5 comments 6 replies
-
Thanks for the report. I can repro with your sample, but not with standard Uno blank solutions. It's likely a mismatch with WinAppSDK and other packages in your solution. This is also likely a bug in WinAppSDK and MS's other packages. |
Beta Was this translation helpful? Give feedback.
-
@jeromelaban while trying to work my pay through that absolute show-stopper I created a fresh new UNO solution following these instructions (including uno-check) and now get these warnings when building:
Is that expected? |
Beta Was this translation helpful? Give feedback.
-
@jeromelaban the reason why you don't experience the issue with a blank new UNO solution is that the solution is set up in a way where one is forced to use WindowsAppSDK 1.6.X and that can't even be changed (screenshot below). -> I have no way to justify that a blank new UNO solution would be working with WindowsAppSDK 1.5.X and have no way to figure out what's going wrong. Is that what it is, that I now am forced to update all my UNO solutions to WindowsAppSDK 1.6.X? |
Beta Was this translation helpful? Give feedback.
-
@jeromelaban to be clear: updating to WindowsAppSDK 1.6.X resolves the issue. However, for obvious reasons this is not a great option to maintain/bugfix for apps which are deployed. FYI for anyone else struggling with that issue: even upgrading to WindowsAppSDK 1.6.X gave me a headache - since I'm using WebView2 and ran into this problem. I was able to resolve by explicitly deleting all obj/bin subfolders of my solution(s). |
Beta Was this translation helpful? Give feedback.
-
@jeromelaban FYI for further reference |
Beta Was this translation helpful? Give feedback.
-
Current behavior
I get this error on all my solutions which use WindowsAppSDK 1.5.X
error CS0433: The type 'TextDecorations' exists in both 'Microsoft.WinUI, Version=3.0.0.0, Culture=neutral, PublicKeyToken=de31ebe4ad15742b' and 'Microsoft.Windows.SDK.NET, Version=10.0.19041.38, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
@jeromelaban appears something broke with most recent VS update ...
Just try to build repo below.
Minimal.zip
Expected behavior
My WindowsAppSDK 1.5.X UNO WASM solution should build as before.
Beta Was this translation helpful? Give feedback.
All reactions