For a web deployment project, I assume that you are referring to projects with the suffix ".wdproj". They were replaced in VS2010 by web application projects that carry a “normal” project file extension (such as .csproj) and are much easier to create and deploy, no matter what CI system you use.
In particular, in TeamCity, you can configure the build with a build step that contains the following Runner properties:
- Build Runner: MsBuild Build File
- Path: "MyWebAppProjectDir \ MyWebAppProj.csproj"
- MSBuild Version: 4.0
- Objectives: Rebuild; Package
This creates the site and all its dependency projects and sends it to a subdirectory as a ZIP file in "MyWebAppProjectDir \ obj \ Debug \ Package \".
, ZIP -. :
MyWebAppProject.deploy.cmd /m: DestinationServerName
, , IIS . :
http://msdn.microsoft.com/en-us/library/ff356104.aspx
, , - MIX10, , TeamCity:
http://channel9.msdn.com/events/MIX/MIX10/FT14