Condividi tramite


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:

image

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”.

image

From the Property Pages dialog, select “Silverlight Applications” in the left. Choose your project, and click “Change…” button.

image

Select Yes to the pop-up dialog.

image

If you now go back and build you will notice your XAP file is placed in the correct configuration folder.

Example for Release configuration:

image

Thank you,
--Mike Snow

 Subscribe in a reader

Comments

  • Anonymous
    January 15, 2009
    Link Listing - January 15, 2009

  • Anonymous
    January 15, 2009
    ASP.NET Time released content in ASP.NET [Via: Jon Galloway ] Code Camps Roanoke Code Camp 09 - Call...