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
9
votes
3 answers

TFS Automated Build Strategy Questions

I'm new to Team Foundation Server, and I'm currently working on setting up an automated build strategy for my project. One bit of confusion I'm having is how to setup automated builds that match our source control/development structure. It is…
Didaxis
  • 8,486
  • 7
  • 52
  • 89
9
votes
4 answers

What decides the target framework version of a satellite assembly?

What decides the target framework version of a satellite assembly? Looking at the log file I can see the satellite assembly is build by running ResGen.exe and Al.exe but I can't find out what decides the target framework of the resulting…
Magnus Lindhe
  • 7,157
  • 5
  • 48
  • 60
9
votes
2 answers

VSTS Build expired

I created a Pull Request which triggers the build and the build was successful, but after some time my build status changed to "build expired" so to finish the pull request I need to trigger it one more time. So the question is: Why has this…
Roman Borovets
  • 818
  • 12
  • 25
9
votes
2 answers

tfs build server - string interpolation $ Character is not valid

i am using string interpolation using $ in my code. It compiles fine but when i check in my code, the build server throws an error BC30037: Character is not valid. Following is an example on how i have used string interpolation: dim r = New…
Baahubali
  • 4,604
  • 6
  • 33
  • 72
9
votes
2 answers

Excluding an entire folder / contents from 'Copy Files' step in TFS 2017 build definition

I'm struggling with getting a TFS build definition to exclude an entire folder and all of its contents from a "Copy Files" step, as shown here: Here's essentially what I'm trying to do: Copy everything except a folder named 'node_modules'…
Shaun Z.
  • 379
  • 1
  • 3
  • 11
9
votes
1 answer

How to integrate NUnit Tests (written in C#) in TFS builds?

I've written tests using Selenium in NUnit Framework using C# language. I want to associate these tests as part of builds in the TFS. So whenever new build is generated. These tests would be able to run as part of builds and generate/email reports…
Mohsin Awan
  • 1,176
  • 2
  • 12
  • 29
9
votes
2 answers

TFS 2015.3 custom build step not sending variables to the script

I've followed closely the design guidance found here, here and here, but I keep getting this PowerShell error: Cannot process command because of one or more missing mandatory parameters: SourcePath FilePattern BuildRegex. The relevant config data…
InteXX
  • 6,135
  • 6
  • 43
  • 80
9
votes
5 answers

Error 'TF215097:...Cannot create unknown type for...' custom CodeActivity

Possible Duplicate: TFS 2010 Custom Build Activity TF215097 error I'm trying to create a CustomActivity to run after each successful build. I've followed the exact steps of several…
Captain
  • 713
  • 1
  • 7
  • 20
9
votes
2 answers

VSO Build - NuGet Publish 409 Conflict

I get a 409 Conflict for my VSO build definition that packages and publishes to a VSO feed. So each build run is a failure. However, the package ends up in the feed. Any clue? Thanks.
Luke Puplett
  • 42,091
  • 47
  • 181
  • 266
9
votes
2 answers

On Premise Gated Check-in Fails with "The shelveset ... could not be found for check-in"

I am having an issue with the new TFS 2015 Update 2 Gated Builds. After attempting a check-in the gated build queues just fine, every part of the build is successful until it reaches the last step of "Check in gated changes". When I look at the log…
abest
  • 494
  • 4
  • 15
9
votes
2 answers

Get the changeset number of a triggered build in TFS 2010

Can someone please tell me how I can get the changeset number, the current build of TFS 2010 was triggered for? I want to extend the build worklfow if the build was triggered by a checkin and want to do some more processing for which I need the…
Scordo
  • 1,041
  • 7
  • 12
9
votes
3 answers

Can assembly version been automatically updated with each TFS 2010 Build?

I'm using Visual Studio 2010 and TFS 2010. Is there a way that dll version be automatically incremented with each TFS build? Thanks
Afshar Mohebi
  • 10,479
  • 17
  • 82
  • 126
9
votes
2 answers

DNX on VSO Host Build Controller

When trying to build an ASP.NET 5 DNX project on VSO, I get the following error: Cannot find DNX runtime dnx-clr-win-x86.1.0.0-beta6 in the folder: C:\Users\buildguest.dnx\runtimes (119,5): Error : The Dnx Runtime package needs to be installed.…
Dave New
  • 38,496
  • 59
  • 215
  • 394
9
votes
4 answers

Using AsConfigured and still be able to get UnitTest results in TFS

So I am running into an issue when I go to build my projects using tfs build controller using the Output location "AsConfigred" it will not detect my unit tests. Let me give a little info on my setup. TFS 2013 Update 2, Default Process Template Here…
SteckDEV
  • 489
  • 4
  • 13
9
votes
1 answer

Exception discovering xUnit.net tests with Visual Studio Online build server

I am using Xunit.net with Visual Studio Online hosted build. My tests are being discovered and run fine both locally and on the build server. But on the build server I get this exception (causing the build to reach a "Partially Succeeded" state).…
MEMark
  • 1,493
  • 2
  • 22
  • 32