How to create Web Deployment Package and install the package
Create Web Deployment Package
To configure settings on the Connection tab
In the Publish method drop-down list, select Web Deploy Package.

In the Package location box, enter the path to where you want the package to be created, including the .zip file name; for example, c:\temp\<projectname>.zip.
As an alternative, you can click the ellipsis to open aSelect Package Location dialog box.
When you select a folder in the Select Package Location dialog box, the package name is set to <projectname>.zip by
default.In the Site/application box enter the name of the IIS site and application that you intend to install the package to. This value can be overridden when you install the package.
If you enter an application name without an IIS web site name, the package is installed in the Default Web Site location (unless you override this value when you install the package).
If the project that you are deploying is an IIS web project, do not specify the same web site and application name as the project's web site. If you do, some of the project files might be overwritten during deployment.
Click Next.
To configure the Package section of the Settings tab
In the Package section of the Settings tab, choose the build configuration to deploy.
You normally deploy a Release build. A Debug build is less efficient and less secure and is typically selected only when you are deploying to a test environment and you want to debug in that environment.

(For the other publish methods there is also a Remove additional files at destination check box on the Settings tab. You specify this option when you install
the package, not when you create it. Therefore, the check box is absent from this tab when you select Web Deploy Package as the publish method.)Configure database settings by using the information in the Configuring Databases in the Settings Tab section in How
to: Deploy a Web Project Using One-Click Publish in Visual Studio.
After you configure the Settings tab, click Publish to create the package at the path you specified on the Connection tab.
(The wizard advances to the Preview tab if you click Next on the Settings tab, but previews are not provided
for deployment packages.)
The Output window reports successful package creation.
Install the package
In order to install a package, Web Deploy must be installed on the destination server. In addition, the version of Web Deploy on the destination server must be compatible with the version on the development computer. (By default, Web Deploy is installed on
the development computer when you install Visual Studio.) For information about how to install IIS 7 and Web Deploy by using the Web Platform Installer, seeMicrosoft
Web Platform Installer on the Microsoft Web site. For information about how to install IIS 7 and Web Deploy individually, see IIS
7 Installation and Deployment and Web Deployment Tool Installation on the Microsoft TechNet Web site.
You can install a package in the following ways:
Use IIS Manager.
IIS 7 must be installed on the destination server, and the package must be created as a .zip file. For more information, see Import
a Package through IIS Manager on the IIS.net Web site.Use the <projectname>.deploy.cmd file that Visual Studio creates with the package.
This file lets you use a simplified command-line syntax to create the much longer and more complex Web Deploy commands that install the package. For more information, see How
to: Install a Deployment Package Using the deploy.cmd File Created by Visual Studio.Use Web Deploy commands directly from the command line or by executing PowerShell commands.
For more information about Web Deploy, see Web Deployment
Tool on the TechNet web site and Web Deploy on the IIS.net web site.
How to create Web Deployment Package and install the package的更多相关文章
- How to install the Package Controller
How to install the Package Controller? https://packagecontrol.io/installation INSTALLATION Use one o ...
- [转]Ubuntu Precise - Install youtube-dl package using Quantal repo
Ubuntu Precise - Install youtube-dl package using Quantal repo Ubuntu Precise 12.04 currently contai ...
- Curses library not found. Please install appropriate package
今天安装mysql-5.5.3-m3的时候,报下面的错误: -- Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_ ...
- Visual Studio® 2010 Web Deployment Projects站点编译生成bin同时发表插件
VS2010环境下: 1.Visual Studio® 2010 Web Deployment Projects下载地址: http://www.microsoft.com/downlo ...
- installation - How to install Synaptic Package Manager? - Ask Ubuntu
installation - How to install Synaptic Package Manager? - Ask Ubuntu How to install Synaptic Package ...
- Java问题解决:使用maven install 和 package时出错
今天在idea中使用maven install 和 package时出现以下问题: [WARNING] The POM for org.apache.maven.plugins:maven-compi ...
- maven package,clean,install,compile命令
1.Ideal中显示 2.各个阶段干嘛的? compile,编译命令,会在项目路径下生成一个target目录,在该目录中包含一个classes文件夹,里面全是生成的class文件及字节码文件 pack ...
- pip install GitHub package
/********************************************************************************* * pip install Git ...
- CMake Error: Curses library not found. Please install appropriate package
编译安装MySQL的时候,出现错误: -- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH) CMake Err ...
随机推荐
- Basic Calculator
本博客介绍leetcode上的一道不难,但是比较经典的算法题. 题目如下: Implement a basic calculator to evaluate a simple expression s ...
- 关于Linux x64 Oracle JDK7u60 64-bit HotSpot VM 线程栈默认大小问题的整理
JVM线程的栈默认大小,oracle官网有简单描述: In Java SE 6, the default on Sparc is 512k in the 32-bit VM, and 1024k in ...
- java中的 FileWriter类 和 FileReader类的一些基本用法
1,FileWriter类(字符输出流类) |--用来写入字符文件的便捷类.此类的构造方法假定默认字符编码和默认字节缓冲区大小都是可接受的.要自己指定这些值,可以先在 FileOutputStream ...
- 图片缩放应用(nearest / bilinear / three-order interpolate)
typedef xPixel PIXELCOLORRGB; double Sinxx(double value){ if (value < 0) value = -value; if (valu ...
- 简易购物车 --day2
代码段 f =float(input('输入你的工资')) goods=['1.apple','2.mac','3.ph','4.python','5.php'] price=[35,26.5,14, ...
- Python:线程
Python中创建线程有两种方式:函数或者用类来创建线程对象. 函数式:调用 _thread 模块中的start_new_thread()函数来产生新线程. 类:创建threading.Thread的 ...
- PHP的字符串函数
1.字符串的连接 字符串可以使用字符串连接符(.)来连接 常见的用途是建立大块的HTML字串代码,赋值号 (=) 连接符 (.) 可以被简写合并为 (.=) 符号 2.在字符串中使用变量 这个功能 ...
- ready与onload的性能
<!DOCTYPE html> <html> <head> <title>ready与onload的性能</title> <meta ...
- javascript里的封装
用javascript闭包的特性,可以模拟实现私有变量.私有方法. var myObject = =(function(){ var privateValue; function privateMet ...
- 通过通知监听键盘的状态来改变View的位置
#import "ViewController.h" @interface ViewController ()<UITextFieldDelegate>{ UIV ...