Silverlight Tip of the Day #25: How to Build the XAP File to the Debug/Release Folders
By default when you build your Silverlight application you will notice the XAP file is placed in your web sites ClientBin folder:
This is regardless of whether you are building under Debug or Release configurations. In Visual Studio 2008 you can choose to build the XAP file to configuration specific folders.
To accomplish this, right click on your web site project node in the solution explorer and choose “Property Pages”.
From the Property Pages dialog, select “Silverlight Applications” in the left. Choose your project, and click “Change…” button.
Select Yes to the pop-up dialog.
If you now go back and build you will notice your XAP file is placed in the correct configuration folder.
Example for Release configuration:
Thank you,
--Mike Snow
Subscribe in a reader