You can follow the steps to auto deploy a web app to your web server with TFS Build:
1. Install Web Deploy on TFS Build Server.
If you are using the TFS Build Server hosted by Dynamsoft
, please contact email@example.com
with your Organization ID info and we'll help you install Web Deploy.
2. Install Web Deploy on your Web Server and prepare the site where you want to deploy the application.
Please change the ".NET Framework Version" of the site's application pool to v4.0 in IIS and make sure the firewall doesn't block port 8172.
3. Add the following arguments to the "MSBuild Arguments" of your build definition. Separate them using space. Note:
Visual Studio 2010 is recommended for better support for web deploy./p:DeployOnBuild=True