I\'m having the rather strange problem of my published wpf program closing when it tries to display a new page, but it works just fine in visual studio.
I first tried