Click here to Skip to main content
15,884,237 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have Visual Studio enterprise 2019.
I'm working on a major solution, which consist of a large number of projects.
The client app is written in WPF and every time I try to make changes in XAML during run time, the change only affects the UI once and that's it, here it's stops. All subsequent XAML changes are not affecting at all. I need click stop and run again.
Do you have any idea what causes this?
Where can I find logs that can help me in this regard?

What I have tried:

.......................................
Posted
Comments
[no name] 23-Mar-22 21:55pm    
Pressing "Pause", making changes, then pressing Continue works better.
oronsultan 24-Mar-22 4:50am    
I'm afraid its not working
[no name] 24-Mar-22 14:17pm    
Generally, "adding" controls in debug mode is less effective than simply making property changes. The more extensive the changes, the less chance the "real time" compiler has of figuring things out (it seems). Code behind usually accepts more changes while running; up to a point.

https://docs.microsoft.com/en-us/visualstudio/xaml-tools/xaml-hot-reload-troubleshooting?view=vs-2022
Maciej Los 24-Mar-22 16:00pm    
This sounds like an answer, Gerry.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900