Installing VS2013
installation Tfs
Configuring the Environment
1 Configuring the Environment for TFS
Reference:
Https://msdn.microsoft.com/zh-cn/library/ms181712#deploy
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