Web Deployment Projects, Web Application Projects, and Team Build 2008

I moved from a website project to a WAP project (web application).

The WDP (Website Deployment Project) project is used to install and potentially use other changes to other web.config in the future.

However, I notice that the command build builds everything twice, once on behalf of the solution file and then again on behalf of WDP. Any idea how I can stop this?

Or is there a way to completely replace the web deployment project?

+2


source to share


1 answer


Yes and yes.

You can stop building TFS from build just twice by following these steps:

  1. Open Configuration Manager (open your solution and select Configuration Manager from the top-level build menu).
  2. Expand the dropdown for Active solution configuration and select New .
  3. Enter a name for the new solution configuration and select the existing configuration to copy the settings and click OK .
  4. In the Configuration Manager, clear the check boxes in the Build column for all projects except the deployment project and click Close .
  5. Edit the TFSBuild.proj ConfigurationToBuild ItemGroup file adding a new configuration: Foo Any processor   
  6. Where Foo is the name of the new configuration you just defined.



For Visual Studio 2010, the ASP.NET team has partnered with the IIS team to provide an integrated solution for packaging and deploying web applications based on [Web Deployment Tool] [1]. It more or less replaces web deployment projects, and you can use it with VS / TFS 2008 through your [command line interface] [2]. I have a blog post that describes the main scenario:

Building a simple website with VSTS / TFS 2008 .

+2


source







All Articles