maui
maui copied to clipboard
XAML changes not automatically updating as expected
Problem encountered on https://dotnet.microsoft.com/en-us/learn/maui/first-app-tutorial/modify Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
I am running Windows 10 Pro 22H2 and Visual Studio Community 2022.
When I run this code
<Label Text="Hello, World!" SemanticProperties.HeadingLevel="Level1" FontSize="32" HorizontalOptions="Center" />
in the tutorial at https://dotnet.microsoft.com/en-us/learn/maui/first-app-tutorial/modify it says "you can change the XAML user interface (UI) while the application is running and the UI will update automatically." It does not do this. I have to force reload the page to get it to update, this is not automatic. I tried leaving it for 10 minutes, nothing, interacted with it, nothing. It is not updating.
Per the instructions, if I left the sample app running, and updated the XAML, it would update in the app automatically and this did not occur. What am I doing wrong or what settings need updating to make this work correctly?
Thank you in advance for your advice and assistance, it is appreciated.
VS bug #1754511
Thanks for the issue report @b-nesbitt! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS.
If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.
- Go to the Visual Studio for Windows feedback tool or Visual Studio for Mac feedback tool to report the issue
- Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.
@b-nesbitt Greetings! Did you file a feedback issue to Visual Studio for your issue?
Could you provide more details? Were you running WinUI? Android? Did you see the Live Visual Tree appear? Was it Populated?
Closing this due to lack of activity, if you're still having an issue please open a VS Feedback item and we can look at it.