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

TFS Changeset among 2 TFS Builds

I have created a TFS build using TFVC as a source code repository. Now, I want to get a full information on all changesets that happened among previous and current build. Any rest api for this ? Same sort of thing is available in jenkins using…
1
vote
1 answer

why are build variable values masked

What cases a variable value to be masked in the output of VSTS 2017 build definitions?. I have a variable named BuildEnvironment that I'd like to see in the build output. An example usage shows: Applying transformations…
JJS
  • 6,431
  • 1
  • 54
  • 70
1
vote
2 answers

Resolving dependencies in TFS 2015

I have two separate solutions in TFS 2015. We'll call them Solution1 and Solution2. The build for Solution1 creates an assembly which is required by Solution2. I'm not sure of the best way to handle this dependency in TFS. Possible scenarios could…
DomBurf
  • 2,452
  • 5
  • 36
  • 71
1
vote
1 answer

TFS Build with dotnet restore and 4.5 Project

I have a .Net CORE (Framework) Project that I want to build and deploy using TFS. I do a Nuget Restore Task first on the solution and than run MSBuild Solution with the following argument /p:DeployOnBuild=true /p:WebPublishMethod=Package…
Isaac Levin
  • 2,809
  • 9
  • 49
  • 88
1
vote
1 answer

Publish Visual Studio extension to marketplace.visualstudio.com with TFS build pipeline

I need to publish a Visual Studio extension to VS market place through the TFS CI build pipeline. I found following article on publishing extension to market place using command line, is there any deployment task in TFS which can use for…
1
vote
3 answers

How can I check `bin/` directories under `node_modules/` into TFS?

I have a Team Foundation Build server behind a firewall, and I would like to check in a node_modules/ directory (powering both a Browserify client app and Node server app) associated with a project so that all of the files and dependencies needed to…
Pathogen
  • 845
  • 11
  • 16
1
vote
1 answer

About Team Build and building Web Sites, custom code activity problem

I'm trying to Publish a Web Site using Team Build 2010, but I didn't see any easy options out there. So I tried to create a custom activity which calls a process in the agent ("aspnet_compiler.exe") with my parameters and publish my site. I can…
Conrad Clark
  • 4,533
  • 5
  • 45
  • 70
1
vote
1 answer

Why one tfs build summary shows test results on one machine, not on another

I have a TFS build and some unit tests. Build runs, test runs on build server. But: On one machine, I can see test results, not on another. See screenshots. (Ignore the failed tests, there is no test results that's the matter) The same is on the…
ThorstenC
  • 1,264
  • 11
  • 26
1
vote
1 answer

TFS 2015 Conditions for variables

till last year we had a build.csproj file with all our build-definitions for a solution. Now we made an update from TFS 2012 to TFS 2015. Now I have to define the build-definitions on the new websurface of the TFS 2015. Its not a problem to define…
1
vote
2 answers

Running Coded-UI in TFS 2017 as part of the build

As per the documentation, in order to run Coded-UI as part of the build you need to have your build agent running as interactive Mode (Not as a service) also your Test Agent need to be deployed as Interactive Mode. Now the problem is when you deploy…
Stacker
  • 8,157
  • 18
  • 73
  • 135
1
vote
1 answer

Add TFS Build status to github

I've user Azure portal to setup continuous integration for my Web App. Sources are hosted on GitHub. When I click GitHub project->Code->Branches, I see build status for master branch: All very nice untill now. However, I've manually setup CI build…
Liero
  • 25,216
  • 29
  • 151
  • 297
1
vote
1 answer

Can build agents on one machine have different build controllers?

I'm updating my XAML build workflow and custom assemblies that go with it. I have a test build controller on a machine with a test build agent. I'd like to also deploy a test agent for this controller on my live build machine (which is much faster…
Scott Langham
  • 58,735
  • 39
  • 131
  • 204
1
vote
2 answers

TFS 2015 build vNext update file version with commit id

Do you know how inject commit id into file version, so every assembly would heve version like 2.0.6565.0 where 6565 is related to C6565commit ID in TFS ? It looks some power shell script is needed.
Alezis
  • 2,659
  • 3
  • 27
  • 34
1
vote
1 answer

Can I "stop" a TFS Build where the only check-in comes from the prior build?

I would like to implement a sort of CI where I build my solution on every checkin. There is one problem, however, and that is that my build scripts often will automatically update certain files that do not change the actual compiled assemblies. Is…
Matthew Belk
  • 1,904
  • 2
  • 20
  • 28
1
vote
3 answers

TFS build server 2015 stuck on waiting for an available agent

I am using TFS build server 2015 and I'm trying to run a build but the build always stuck on waiting for an available agent for 2-3 minutes and then fails. I tried to download the log.zip but its empty. When I run the agent from cmd the next…
Evya2005
  • 410
  • 1
  • 5
  • 19