If this title is totally confusing to you, you may want to check out one of my previous posts XBAP Introduction

 

Based on same concept described in How to use the latest version of Visual Studio and build your project targeting earlier version of .NET framework post, Karen Corby has created a “Flexible Application” Visual Studio template that allows you to compile and run your WPF application as a standalone or XBAP based on project configuration -- http://scorbs.com/2006/06/04/vs-template-flexible-application/.

 

 

First, find out where is your VS project templates are located:  Tools->Options->Project and Solutions->General -> Visual Studio user project templates location”… 

Most likely at C:\Users\yourlogin\Documents\Visual Studio 2005\Templates\ProjectTemplates

 

Second, copy the http://scorbs.com/vstemplates/Flexible%20Application%20(WPF).zip (don’t unzip) to that location.

 

Now, when you create a new project, you’ll have a new template ‘Flexible Application (WPF) in ‘My Templates’… 

 

Very sweet!