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
12
votes
1 answer

How do I update a single nuget package in a project from the command line?

I am trying to update a single package in a csproj with multiple dependencies. That is, the packages.config file looks like this:
NextInLine
  • 2,126
  • 14
  • 23
12
votes
6 answers

Why does Tfs2010 build my Wix project before anything else?

A similar question was asked and answered about a year ago, but was either a different issue (everything was in beta) or misdiagnosed. It's located here: MSbuild task fails because "Any CPU" solution is built out of order. My issue is that I have a…
bwerks
  • 8,651
  • 14
  • 68
  • 100
12
votes
3 answers

What is/are the difference(s) between MSBuild and TFSBuild

Background: We have a TFS server setup where me manage our source code and track work items and bugs. We also have CC.Net setup to help us do CI (mostly just build and run unit tests). We use .net framework 3.5 and VS 2008 I am familiar with MSBuild…
Punit Vora
  • 5,052
  • 4
  • 35
  • 44
11
votes
1 answer

Looking for a build activity which breaks a build when new warnings are introduced

We're attempting to clean up a big bunch of brown field code, while at the same time a team is adding new functionality. We'd like to make sure changed and new code is cleaned from any compiler/code analysis or other warnings, but there's too many…
jessehouwing
  • 106,458
  • 22
  • 256
  • 341
11
votes
6 answers

How to Move TFS 2010 Build Definition between Projects?

I have some TFS 2010 build definitions that were created under ProjectX. Now the source code has moved to a folder subordinate to ProjectY. How can I move the build definitions to ProjectY so they display under the Builds node of the Team Explorer…
marc
  • 3,248
  • 4
  • 28
  • 33
11
votes
6 answers

VSTS Release multi-line variable

I have task in VSTS release management that deletes files. I want to have the Contents come from a variable. I have created a variable but I can't figure out how to create a multi-line variable. So for example a variable that deletes the three types…
11
votes
3 answers

"The license for Visual Studio has expired." when compiling with Visual Studio from TFS build

I need to build SSIS projects (.dtproj) on our build server. They aren't supported by msbuild so I need to use Visual Studio to do it. The wisdom of Stack Overflow indicates I do not need a new license of VS to do this (Is a separate Visual Studio…
mhenry1384
  • 7,538
  • 5
  • 55
  • 74
11
votes
1 answer

Pass Secret Variable from TFS Build to Powershell script

I have added secret variable called Password in my build definition as shown in this image: I want to pass the Password to the PowerShell script in one of my build steps as shown in this image: My PowerShell script looks like this Param ( …
Sunil Buddala
  • 1,123
  • 1
  • 10
  • 22
11
votes
1 answer

WiX: Mysterious and hard-to-diagnose ICE validation errors on build server build

I'm trying to integrate WiX into my automated build solution using TFS 2010 running on Windows Server 2008 R2. Everything seemed very easy, and then I get this: light.exe: Error executing ICE action 'ICE01'. The most common cause of this kind of…
bwerks
  • 8,651
  • 14
  • 68
  • 100
11
votes
1 answer

Is there a .NET API equivalent to the "Build 2.0" REST API for TFS 2015?

The REST API Reference for VS Team Services and TFS page separates the "Build 1.0" and "Build 2.0" APIs. It seems like such a difference also exists in the .NET API because running the following code only lists the "old" XAML build definitions and…
dee-see
  • 23,668
  • 5
  • 58
  • 91
11
votes
2 answers

What ports are used for VSTS/TFS Build/Release Agent?

Can someone tell me what ports are used for the new TFS 2015 build agent for communication with TFS on-prem and Azure DevOps (aka VSTS)?
Kevin Kraus
  • 283
  • 1
  • 2
  • 11
11
votes
4 answers

Build Breaker Plugin with SonarQube 5.2

It seems like the Build Breaker Plugin is no longer compatible with SonarQube 5.2. Is there any alternative to have a (VSO) build fail if a Sonar gate is not fulfilled or are there plans to update the Build Breaker Plugin to 5.2?
Pascal Berger
  • 4,262
  • 2
  • 30
  • 54
11
votes
1 answer

TFS 2015 Build: NuGet restore from an internal repository

We have set up an internal NuGet server and added that server into the package manager settings to publish our dependencies to our local dev machines. Now we want to use the new TFS 2015 Build system to build our solution. at the start of the…
11
votes
2 answers

Where is TFS Build Explorer in Visual Studio 2015?

I am running Visual Studio Enterprise 2015 RTM on Windows 8. In Visual Studio 2013 the Build Explorer was in Team Explorer -> Builds -> Actions -> Manage Queue. That option no longer exists in Visual Studio Enterprise 2015 RTM.
Robin
  • 2,278
  • 3
  • 26
  • 46
11
votes
2 answers

Frequent errors running TFS-2013 with git

We have TFS-2013 configured to use a git repository. All works fine most of the time but we are getting intermittent build errors - they even seem to become more frequent over time. This is what we can find in the build logs when the problem…
cacau
  • 3,606
  • 3
  • 21
  • 42