I recently got into a strange problem, it seem to have happen randomly.
When I make changes inside a XAML-file (It can be anything, change text in a button, change color of background etc.) my visual studio hangs when starting my program.
Does anyone know how to fix this really annoying problem?
I posted a thread about this on MSDN's forum too, and I got an answer which did the trick:
Apparently I had to delete the Project Solution file and then run the .csproj file.
Don't really know why but this made it work again! So if anyone has been experiencing this problem, try the solution above.
EDIT:
Link to the answer on MSDN
Vote here :https://visualstudio.uservoice.com/forums/121579-visual-studio-2015/suggestions/2204137-improve-the-xaml-designer-performance
A tip from that page that helped in my case ...
Disabling effects rendering (the fx button at the bottom left of the xaml editor) caused a significant performance boost.
Also, deleting the .suo
file can sometimes fix a lot of Visual Studio problems. In VS2015 just delete the .vs
folder at the root of the solution, that's where the .suo
file lives.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With