Questions tagged [tfsbuild]

Automated Builds using the Team Foundation Server / Visual Studio Team Services build system

Questions related to TFS builds, either in on-premise TFS or in Visual Studio Team Services. This includes task-based builds in TFS 2015/Visual Studio Team Services, TFS 2010-2015 and VSTS builds based on Windows Workflow build process templates, and MSBuild-based builds in from early on-premise versions of Team Foundation Server.

You might also be interested in these related tags:

3292 questions
1
vote
2 answers

Transform web.config with TFS Build Server 2015

I'm looking to create a deployment artifact using TFS Build Server 2015. I have my web application building, and it looks like everything I need is in the /bin folder, but it's not applying the transforms that are normally applied if I go into…
Kyle W
  • 3,702
  • 20
  • 32
1
vote
1 answer

SqlCmd Variable for Dacpac Deployment in TFS 2015 vNext Release For Database Projects

I have an error like this - ##[error]Deployment failed: 'An error occurred during deployment plan generation. Deployment cannot continue.' Reason: 'Missing values for the following SqlCmd variables:Test1.' ''. I know Dacpac deployment could not…
Don
  • 1,532
  • 4
  • 24
  • 47
1
vote
2 answers

Build automation using TFS with InstallShield 2011

We have a TFS build which outputs 2 exe's for 2 different solutions. How do I now integrate my build with InstallShield to use these exe's of both the solutions in my installer. Any points to information would be greatly appreciated. Thanks much in…
smd
  • 51
  • 1
  • 3
1
vote
1 answer

TFS: Do not allow branch changes for builds

I want to allow contributors to kick off a build, but not to specify the branch. Is that possible to allow Queue builds but not allow the branch choice? (This is because the build is wired up to a continuous deploy in Release Manager)
Bert Cotton
  • 136
  • 7
1
vote
1 answer

Assembly versioning using in TFS with Git

I'm looking for a solution for assembly versioning as part of Continuous Integration using TFS2015 and Git as a source control. The tricky part is that I want to increment assembly version only when the project has changed since last…
Liero
  • 25,216
  • 29
  • 151
  • 297
1
vote
1 answer

TFS 15 RC2 - Build Agent Publish to Packages Feed

I've been unsuccessful with having my build publish to the new Package Feed in TFS 15 RC2. I'm currently running TFS offline and using a local build agent. I've followed these instructions to no avail. Since the last image in those instructions is…
Mark De Verno
  • 418
  • 1
  • 4
  • 17
1
vote
1 answer

TFS 2015 vNext build fails with error Unable to perform the get operation because the file already exists locally

During our incremental builds, where the repository clean parameter is set to 'false'. Build fails intermittently during get source step with the following error: Unable to perform the get operation because the file already exists locally. Is there…
Santhosh
  • 671
  • 12
  • 36
1
vote
3 answers

Unit tests are failing when run from dotCover

I have a TFS 2015 build which builds one of our applications (it's an ASP.NET Web API application). As part of the build process it runs our unit tests. I have a Visual Studio Test build step which runs these unit tests and they all pass okay. I…
DomBurf
  • 2,452
  • 5
  • 36
  • 71
1
vote
1 answer

VSTS Build Definition for Android failing

I'm starting using the build definitions from Team Services for a Xamarin Android App. In Visual Studio everything works fine and I can check in the code to VS Team Services. UPDATE 1 Now, at the moment to create an Build Definitions for my project,…
MikePR
  • 2,786
  • 5
  • 31
  • 64
1
vote
1 answer

How TFS 2015 agent assign coverage results to SonarQube Scanner for MSBuild?

Trying to reproduce the steps that a TFS agent perform with the SonarQube Scanner for MSBuild. I am not able to locate where the Agent injects the name of the coverage results file. The documentation states that a coverage file should be parsed to…
XtianGIS
  • 967
  • 16
  • 39
1
vote
1 answer

Possible causes in error with SonarQube Scanner for MSBuild & TFS 2015

I have setup TFS 2015 update 3, with several projects. each one of them has its own build definitions, moreover some of those build definition include SonarQube for MS Build tasks (begin-end). so far I setup 1 build agent in other machine to work as…
XtianGIS
  • 967
  • 16
  • 39
1
vote
1 answer

TFS 2015 alerts

I want to assign alerts for my team project as followed: 1. Every build that failed will trigger an email notification for the last developer that committed a change. In additional send the same email to the code reviewer. I only found that a failed…
chen
  • 131
  • 1
  • 1
  • 11
1
vote
1 answer

Access just the current BuildConfiguration in a Build Definition

Here is the setup: I have a vNext Build Definition that I have set "Multi-configuration" to true and am using the Variable "BuildConfiguration". BuildConfiguration = QA, UAT, Live When the code is checked in, I get three builds, one for each of the…
Jason H
  • 4,996
  • 6
  • 27
  • 49
1
vote
2 answers

Display Project full path when build error occur on TFS2015 vNext Build

My TFS Server is TFS2015 Update2, I found VS build task only show project file name rather than prj full path. On my build definition there are lots of prjs in different directories, I have to download full build log to find where the prj is. Are…
Allen
  • 569
  • 9
  • 22
1
vote
1 answer

How to prevent Gradle job running in background on TFS agent

I have configured a Windows 7 VM as an agent to my TFS2015 setup. I have created a Gradle (invoking the gradlew.bat) job to run my selenium scripts from the TFS build definition as gradlew.bat clean test aggregate This works fine (I can see IE…
AyeVeeKay
  • 149
  • 1
  • 12