I am converting a WPF XBAP application to a WPF desktop application. This works for me on the desktop, but now I'm trying to change links to Window links.
'MyApp.StartForm' root element is not valid for navigation.
I tried to create a simple version of this application and convert it, and it works fine, so there should be something in XAML that calls this when using Window tags. My question is how I can investigate this. Currently, all I get is an error, followed by a "No Source" screen; stack locations are not shown, and Show Disassembly does not work. Besides systematically commenting on individual XAML fragments while it doesn't work, is there any way to decide what this problem is?
source
share