tfs+vs2013 for Continuous integration

Source: Internet
Author: User

    1. Installing VS2013

    2. installation Tfs

    3. Configuring the Environment

    1. 1 Configuring the Environment for TFS

Reference:

Https://msdn.microsoft.com/zh-cn/library/ms181712#deploy

    1. 2 configuring vs2013

of course, here you have to first import the solution in vs , here if your company in the development with VS , you can use off-the-shelf, or let development help to do a local, and then follow the steps:

Click Build Definition

refer to https://msdn.microsoft.com/zh-cn/library/ms181716 for configuration

the address above is The source code is copied to the local Address


  in "Generate default value"


the following is the key: looking for a long time, online no solution:

I've been experimenting here locally, so Both TFS and vs2013 are installed locally:

This publishing address, I want to publish the locally configured IIS Address:

So what's this address? setting it up? Where is it set?

C:\Program Files (x86) \msbuild\microsoft\visualstudio\v12.0\webapplications

This file Microsoft.WebApplication.targets :

Over here

<propertygroup condition= "' $ (webprojectoutputdir) ' = = '" >

<webprojectoutputdir>$ (msbuildprojectdirectory) </WebProjectOutputDir>

<webprojectoutputdir condition= "!$ (webprojectoutputdirinsideproject)" >$ (OutDir) _publishedwebsites\$ ( MSBuildProjectName) </WebProjectOutputDir>

</PropertyGroup>

Modified to:

<propertygroup condition= "' $ (webprojectoutputdir) ' = = '" >

<webprojectoutputdir>$ (msbuildprojectdirectory) </WebProjectOutputDir>

<webprojectoutputdir condition= "!$ (webprojectoutputdirinsideproject)" >D:\TZCSTest</ Webprojectoutputdir>

</PropertyGroup>

I posted the Red address . the address of the IIS.

Generated definitions are automatically published according to the triggers that are set

tfs+vs2013 for Continuous integration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.