Visual Studio 2010 使用 Silverlight 项目部署/发布网站

发布于 2024-11-15 07:06:01 字数 56 浏览 8 评论 0原文

如何在 Visual Studio 2010 中使用 Silverlight 项目部署/发布网站?

How to deploy/publish a website with Silverlight project in Visual Studio 2010?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

相对绾红妆 2024-11-22 07:06:01

与发布任何其他网站的方式相同,Silverlight 二进制文件应包含在 Web 项目的 ClientBin 文件夹中。

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.

潦草背影 2024-11-22 07:06:01

构建并测试 (F5) 您的 Silverlight 项目。当您生成和测试 Silverlight 项目时,将在 \bin\debug 文件夹中创建以下文件,并且 Expression Blend 尝试打开起始网页。

ProjectName.xap

一个压缩存档,其中包含上述 Silverlight 应用程序的所有内容和资源。用户在浏览器上下载此文件并使用 Silverlight 插件运行它。

将 ProjectName.xap 文件复制到网站上的文件夹中。例如,如果安装了 Internet 信息服务,则可以将 .xap 文件复制到默认站点中的虚拟目录(通常映射到 C:\Inetpub\wwwroot)。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文