tfsbuild

Team Foundation Server unable to build. Missing libraries or components?

半腔热情 提交于 2019-12-12 17:38:54
问题 I am trying to create a build using TFS and a build server. This is my first attempt with the build server and it is not going well!! I am using Visual Studio 2012 and TFS 2012. The project is written in VB.Net and uses a fair number of references. When I build the project on my dev machine I have no issues; but then I have Outlook 2013 installed and all the various required components. When I send the project off to the build server I am getting many warnings about missing types that pertain

How to make build definition in TFS Build 2010 configurable w.r.t input variable values and “items to build”

偶尔善良 提交于 2019-12-12 17:20:39
问题 We are using TFS Build 2010 for Builds. We have two branches of source code (Lets say branchA and branchB). Now as a part of the build definition we set the projects to build: Now to employ the same build definition from branchB will mean that I create another build definition file with same content, with only the items to build set to "$/branchB" Is there anyway to make this configurable, without having to edit the build definition? Also there are other input variables that we set for the

How to identify files that have changed during TFS Build 2015

孤者浪人 提交于 2019-12-12 17:08:00
问题 I have a need to merge changes from one branch to a release branch and only deploy these changed files to a production environment. these files are Maestro and SQL files, so there is no "build", just individual files that need to be moved. this process is all manual and I would like to automate this process using TFS 2015 CI builds and/or Release Management vNext 2015 Update2. My main issue is how to identify the files changed. Using the build agent workspace is not reliable as the time

Is TF Build 2013 compatible with TFS 2012?

血红的双手。 提交于 2019-12-12 15:43:34
问题 I have a project hosted on a TFS 2012, and a build controller/agent (also 2012) on another computer. This configuration works fine. I'd like to upgrade my build controller/agent to 2013 (so I can work on Windows 8.1 applications), while keeping TFS 2012 on the other computer to host my projects. Would the 2 be compatible? Thanks! 回答1: Yes it's compatible, your agent is just service windows, his role is to host your build workflow 来源: https://stackoverflow.com/questions/19733251/is-tf-build

Pass value from MSBuild Task to TFS Build Workflow

☆樱花仙子☆ 提交于 2019-12-12 15:14:57
问题 There are numerous examples and ways on passing a property value from TFS 2010 Build Workflow into MSBuild however I need to do the reverse. Basically on the build boxes custom target files have been written to do some processing on all the builds that run on the boxes. These target files have custom tasks in them some of which expose return values (or output parameters). I would like to be able to read the values of these output parameters from within the build workflow (TFS 2010) if

Where is $(System.DefaultWorkingDirectory) set for builds in TFS2015?

╄→尐↘猪︶ㄣ 提交于 2019-12-12 13:08:15
问题 I'm trying to modify the value of this variable as it currently points to the source folder of whatever build gets run on the agent instead of the root of the build. Does anyone know where I can modify this variable? I've looked at the agent's configuration .json file but didn't find anything relevant. 回答1: You can define $(System.DefaultWorkingDirectory) in Variables tab in Build Definition. I just had a quick test, if I define a new value to $(System.DefaultWorkingDirectory) , the output in

How to parametrize DeployIisAppPath Msbuild argument in Tfs Build

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 12:21:34
问题 I am using Tfs 2012 to build/deploy our Asp.Net web apps. We have a build definition that builds 5 solutions (.sln files). This is how our MsBuild arguments look like: /p:DeployOnBuild=True /p:AllowUntrustedCertificate=True /p:DeployIisAppPath="Test" /p:DeployTarget=MsDeployPublish /p:CreatePackageOnPublish=True /p:MSDeployPublishMethod=WMSVC /p:MSDeployServiceUrl="https://{server}:8172/msdeploy.axd" /p:UserName="{user}" /p:Password="{password}" I need to deploy all 5 sites with Web Deploy

msbuild copy files

扶醉桌前 提交于 2019-12-12 11:22:41
问题 I am having trouble copying files with MSbuild and the error messages I'm getting seem to contradict each other (using TFS 2008 to do the build). I currently having the following in my build script <PropertyGroup> <ReleaseRoot>$(DropLocation)\Latest\x86\Release</ReleaseRoot> <WebRoot>$(ReleaseRoot)\_PublishedWebsites\Web</WebRoot> <DBRoot>$(ReleaseRoot)\Database</DBRoot> <TempHolingDir>$(ReleaseRoot)\temp)</TempHolingDir> <WebConfig>$(WebRoot)\Web.config</WebConfig> <DatabaseUpdate>$(DBRoot)

Publish Profile not deploying on TFS Build

筅森魡賤 提交于 2019-12-12 11:11:36
问题 I have a .net4 solution in VS2012 that has a website with its own publishprofile. The profile successfully publishes via webdeploy when executed from within VS, but when using a TFS2012 build it seems to get ignored. I pass these MSBuild arguments into the build: /p:DeployOnBuild=true /p:AllowUntrustedCertificate=true /p:PublishProfile=CI /p:Configuration=CI /p:UserName=XXX /p:Password=XXXXXX I thought DeployOnBuild=true would force MSBuild to execute the publish profiles of the same name