VS 2022 and Android emulator are not playing well together
The problem is that after a while I can make simple changes to the XAML or the C# and the changes will not show on the first execution of the new code.
If I run , quit the app and then rerun the changes are shown.
This seems to happen more as I tend to leave VS 2022 running overnight with PC on sleep mode.
To help with this I am closing VS when I am done with it for a while. I also have cleaned the solution and the deployment seems to happen ok for a while. It looks to me as if there is a cache problem. The first execution does not use the new code but the second does. I have not created a new Android emulator as it took me some time to get it working.
The other thing that has changed on my PC is that I have given up on trying to get Hot Reload to work. Changing that setting is the only thing that I can think of that I have changed in the development environment in the last few months.