Page view counter

Silverlight Tips of the Day - Blog by Mike Snow

Game Programming with Silverlight

Silverlight Tip of the Day #26: How to Change the Output XAP File Name.

Don’t like the default name given to your XAP file? Good news! You can change it but there are two steps you will need to take.

Step #1. Right click on your Silverlight application node in the solutions explorer and choose “Properties”.

image  

Choose the Silverlight tab (default tab opened) and where it says Xap file name enter the new name of the XAP file you want to use.

image

Step #2. Open up the web page that hosts this Silverlight control. In my case, Tip26TestPage.aspx. Change the Source to point to the new name of the XAP.

<asp:Silverlight ID="Xaml1" runat="server" Source="~/ClientBin/NewName.xap" MinimumVersion="2.0.30523" Width="100%" Height="100%" />

That’s it, you can now build and run your application under the new XAP file name.

Thank you,
--Mike Snow

 Subscribe in a reader

Comments

carnewsservice.info » Tip of the Day #26: How to Change the Output XAP File Name. said:

Pingback from  carnewsservice.info &raquo; Tip of the Day #26: How to Change the Output XAP File Name.

# August 14, 2008 2:41 PM

Visual Web Developer Team Blog said:

7 new Silverlight blogs have been completed. Check them out and let me know if you have any questions.

# August 14, 2008 2:51 PM

Microsoft Weblogs said:

Don’t like the default name given to your XAP file? Good news! You can change it but there are two steps

# August 14, 2008 2:54 PM

Community Blogs said:

SilverlightOnly Panorama Viewer, Alex Golesh on Isolated Storage, Mike Snow on moving the XAP, Changing

# August 15, 2008 2:16 AM

Dew Drop - August 15, 2008 | Alvin Ashcraft's Morning Dew said:

Pingback from  Dew Drop - August 15, 2008 | Alvin Ashcraft's Morning Dew

# August 15, 2008 9:43 AM

Silverlight news for August 15, 2008 said:

Pingback from  Silverlight news for August 15, 2008

# August 15, 2008 12:34 PM