.XBAP Development Made Easy (Or At Least Easier)
Karen Corby has published a template for Visual Studio that allows you to seamlessly switch between compiling for a standalone application and compiling for an .xbap. Even more nifty, she has added support for conditional compiles in both code and XAML depending on if you are targeting an application w/ full trust or an .xbap with partial trust. Note that when you go to install the template, literally copy the .zip file to the Templates directory; don't unzip it. (This threw me initially.)
This inspired me to update the Monkeys Jumping sample and also make it available as an .xbap now that the NETFX3 server is configured to deploy .xbaps.
Comments
- Anonymous
June 16, 2006
Hi Karsten,
I got an issue with XBAP applications: Since I installed the May CTP, when I press Ctrl-F5 to start the browser application from Visual Studio, Firefox is started instead of IE. Of course Firefox cannot run XBAP, so it doesn't work.
With the February CTP, I didn't have that problem.
Do you have any idea how to correct this behaviour? Note: My default browser in XP is set to Firefox, but in Visual Studio, the default browser to run HTML files is set to IE. I didn't find how to do that for XBAP applications.
Thanks,
Laurent - Anonymous
June 16, 2006
Hmm, not sure on that one. Try posting this issue to the WPF forums: http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=119&SiteID=1&PageID=0)