Debug XBAP hosted in WPF Application
问题 I have a WPF Application (say, WPF.exe) with multiple tabs. In one of the tabs, I display a *.xbap using: WebBrowser tag. <WebBrowser Source="c:/PublishedWebSites/Test.xbap"/> When I start WPF.exe, I am able to attach debugger to any other UserControl but not to my XBAP. I also tried attaching my XBAP to PresentationHost.exe process which was started when I click on the browser tab. The break points are not hit in XBAP project, though I verified that when I publish the XBAP, I oublish *.pdb