I'm having a problem deploying to Windows Phone 8 on my device. It seems that XAML doesn't update when I build and debug. The only way, apparently, to update is when I do Rebuild> Debug or uninstall the application and then debug it.
Here is the scenario: The page contains a button with a click event named "Button_Click". I am debugging and everything works. Stop debugging. Now change the name of the event handler to NewButton_Click (yes, in both xaml and cs). Start debugging again, click the button, and you will get an exception because there is no name for the Button_Click event handler
XAML changes were not detected / pushed to the device, only Csharp were.
If you debug Rebuild, then it will work as expected. Re-creating every time I need to deploy is PITA because I am losing isolated storage.
Can someone clarify what is going on here?
NOTE. This happens with the Windows Phone 7.x application in Visual Studio 2012 Update 3 on Windows 8.
source share