Derek Lakin

Debugging Deep Links in Windows Phone

If your app creates pinned tiles that provide deep links[1] into your application, then you will most likely want to debug how your app handles those deep links (if you don’t, then you should!). So, here’s how.

  1. Open WMAppManifest.xml.
  2. Locate the <DefaultTask .. /> element.
  3. Change the NavigationPage attribute to the relative URL of your deep-linked page.
    This is exactly the same as the navigationUri value that you pass to the ShellTile.Create method, just remember to replace ‘&’ in your URL with ‘&’.

Don’t forget to to set it back to your start page when you’ve finished debugging!

[1] By this I mean that the tile launches into a page in your application that is not the home page.

deeplink mango tiles wp7