开发者

Visual Studio 2010 Deploy/Publish a website with Silverlight project

How to deploy/publish a website with Si开发者_StackOverflow社区lverlight project in Visual Studio 2010?


The same way as you would publish any other website, the Silverlight binary file should be included in the ClientBin folder of the Web project.


Build and test (F5) your Silverlight project. When you build and test a Silverlight project, the following files are created in the \bin\debug folder, and Expression Blend tries to open the starting web page.

ProjectName.xap

A compressed archive that includes all the content and resources for the Silverlight application described above. Users download this file on their browsers and run it with the Silverlight plug-in.

Copy the ProjectName.xap file to a folder on a website. For example, if you have Internet Information Services installed, you could copy the .xap file to a virtual directory in the default site that is typically mapped to C:\Inetpub\wwwroot.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜