dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.18k stars 1.74k forks source link

Label not changing text #11325

Closed Robert9330 closed 1 year ago

Robert9330 commented 1 year ago

Problem encountered on https://dotnet.microsoft.com/en-us/learn/maui/first-app-tutorial/modify Operating System: windows

Trying to edit the text in first label in toturial, but it's not updating. Moved on to changing counts per click and that works fine. But text still not chaniging.

jfversluis commented 1 year ago

Hey @Robert9330 sorry that isn't working! Do you see any message about Hot Reload whenever you start the application?

If you stop and start the debugging session and start editing some things do the changes show up then?

Lastly, if you go to Tools > Options, what do the settings look like?

image

In any case, XAML Hot Reload is a great productivity booster, but if it's not working that shouldn't block you from making any progress here. Still, we'd love to figure out what might be causing this for you and fix it!

ghost commented 1 year ago

Hi @Robert9330. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

Robert9330 commented 1 year ago

Hi, my settings looks like the picture above. Had trouble also getting the android emulator running, so tried to start a new project and now the changes I'm making is shown fine in the emulator, so I guess it's working?

jfversluis commented 1 year ago

Cool! If this fails again and it fails consistently, please report it through Visual Studio. Under the Help menu find Provide Feedback and Report a Problem. That will collect all relevant logs and send it to the right team, happy developing!