-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplified inline syntax for RowDefinitions/ColumnDefinitions breaks XAML Hot Reload #5944
Comments
I have the same issue with WinUI 3 - Windows App SDK 1.0 Preview. Does not work: Works: |
Took me some time to find out what was the issue in my App, but I can confirm this issue (for my android build + net7.0). I wonder two things:
|
Still have this problem using Windows App SDK v1.2.230118.102 |
Just FYI, I did get this issue and it is actually due to something else broken in your XAML. To fix it, define the RowDefinitions attribute using the Grid.RowDefinitions/RowDefinition tags - fixing this "error" will expose the other error in your XAML. Once the other error is fixed you can revert to using the RowDefinitions attribute. This is still an issue though with the XAML parser highligting the wrong error. |
I disagree. The XAML works perfectly and there are no errors. Making a simple change, like adding a space or changing a value causes this error. Using the long-form XAML and making the same change does not cause this (or any other) error. Therefore the live XAML editor is at fault and needs to be fixed - what's the point of a live XAML editor that doesn't work (unless you replace simple XMAL with lots of lines of XAML; can you imaging saying that to C# & .Net 8 - "Oh yes a the feature to remove 10 lines of boilerplate code is amazing, but if you use it, the IDE will show errors until you re-compile & run the app") |
The fact that issues like this are still open 3 years later is....something. Can the WinUI team please implement some kind of sensible triaging system where fundamental usability issues are prioritized and addressed? It feels like the team is focused on adding more features on top of a broken platform in every release instead of fixing any of the basic problems with the platform. |
I started getting suspicious of the development path when they stated they want to keep the issue count under 2,000 issues - and to achieve that, they weren’t going to fix the issues, they were going to close them. |
Same issue here. I hope this gets fixed soon |
Describe the bug
When using the simplified inline syntax for specifying RowDefinitions or ColumnDefinitions, XAML Hot Reload does not work.
(WinUI 3 with C#/XAML)
Steps to reproduce the bug
<Grid RowDefinitions="Auto,*">
)Expected behavior
XAML Hot Reload should work with this XAML syntax.
Version Info
NuGet package version:
WinUI 3 - Windows App SDK 0.8: 0.8.3
Windows app type:
The text was updated successfully, but these errors were encountered: