Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Phone 8 SDK doesn't refresh XAML part of a page

I'm working on an app for Windows Phone 8 and I'm debugging it on my Nokia Lumia 925. But every time I press F5, the XAML code stays the same while my c# code refreshes - so I've got the new code, but the UI is the same. I have to reinstall the app every time to get the changes on my phone.

Any ideas how I could fix that? Thanks!

like image 518
Nic Avatar asked Nov 11 '22 09:11

Nic


1 Answers

Each time you debug, make sure to first Rebuild the app. Also you may encounter issues such as "Symbols not loaded" from the ".pdb" extension in your debug folder. In that case you can do two things to resolve the issue:

  • Goto your project's Bin/Debugfolder and delete all the items.
  • Or just do Clean Solution each time before you debug the app.

In this way, you can deploy the most updated version of your code into your Emulator/Device and avoid any missing symbols errors. Hope that helps.

like image 177
Preetesh Avatar answered Nov 14 '22 23:11

Preetesh