Visual Studio 2010 Web Deployment Projects

Written by

in

Visual Studio 2010 Web Deployment Projects (WDP) is an official Microsoft add-on tool used to compile, merge, and package ASP.NET Web Sites or Web Application Projects (WAP) into a production-ready format. It generates a .wdproj file that gives you fine-grained control over MSBuild compilation, assembly combining, and configuration file management. 1. Installation WDP does not ship out-of-the-box with Visual Studio 2010.

You must download and install the Visual Studio 2010 Web Deployment Projects RTW package from Microsoft.

Ensure your target web server has the IIS Web Deployment Tool (Web Deploy) installed to accept the packages generated by WDP. 2. How to Add a Web Deployment Project Open your web solution in Visual Studio 2010.

Right-click your Web Site or Web Application Project in the Solution Explorer. Select Add Web Deployment Project.

Provide a project name and click OK. This creates a nested .wdproj file linked directly to your source target. 3. Core Configuration Options

Right-click your new .wdproj file and select Property Pages to configure its behavior across different build modes (Debug vs. Release):

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *