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

Can't set keepforever if the build is still running

I have a simple c# client that's fully working IF the build has completed: WebClient client = new WebClient(); client.Encoding = System.Text.Encoding.UTF8; client.Headers.Add("Content-Type", "application/json"); client.UploadString(url, "PATCH",…
JL.
  • 78,954
  • 126
  • 311
  • 459
1
vote
2 answers

How do you send a patch request from a c# client?

I have a powershell script that does this : $uri = "$($tfsUri)/$($teamproject)/_apis/build/builds/$($buildID)?api-version=2.0" $data = @{keepForever = $keepForever} | ConvertTo-Json $response = $webclient.UploadString($uri,"PATCH",…
JL.
  • 78,954
  • 126
  • 311
  • 459
1
vote
1 answer

Powershell: The specified path, or filename, or both, are too long - Directory Excludes

We’ve been running this script fine previously, but recently we’ve been getting some issues (See below error) with our config transform step from our TFS Build. $serviceFiles = Get-ChildItem $localWorkspace -Recurse | where {$_.Extension -eq…
ICTech
  • 213
  • 1
  • 13
1
vote
1 answer

TFS 2015 VNext Copy Files task without copying folders

Using the copy task to copy some msi files to the drop location. The msis are in corresponding bin/debug/release folders. When I use the copy files task it copies the entire folder structure (bin/debug/...msi) to the target location. I just want…
O.O
  • 11,077
  • 18
  • 94
  • 182
1
vote
3 answers

TFS 2015 Build is not getting the Mapped path

For some reason my build definition are not working properly if long path mappings. If I were using the path $/Project/Samples it works OK. My build has this in the repository tab: Then the logs show that there is no SLN found, and I confirmed…
Fabito
  • 1,165
  • 2
  • 13
  • 30
1
vote
1 answer

TFS 2015 build SGEN error: 'assembly with incorrect format'

We are upgrading our TFS build system from 2012 to 2015, and are recreating our build machine. We setup the build service, installed necessary dependencies etc. The (legacy) XAML builds are working fine except for the following SGEN error: SGEN:…
davewilliams459
  • 1,679
  • 2
  • 15
  • 24
1
vote
0 answers

Visual Studio Team Services Build - Error 500 (was Visual Studio Online - VSO)

I don't know how to change or track the agent, or identify the reason of this error. C:\a\1\s\RadMVCLab\Scripts\jquery.datatables\examples\examples_support\themes\smoothness\images\ui-bg_glass_95_fef1ec_1x400.png: Please contact your administrator.…
Fernando Magno
  • 375
  • 6
  • 15
1
vote
1 answer

How to prevent building repeated in new TFS build vNext 2015

In the old TFS build definition(XAML builds), I have an option to make Team Build not build the same code again if the code hasn't been changed. However, in the new XML Build (vNext), I don't see this option and the build server keeps build the code…
LxL
  • 1,878
  • 2
  • 20
  • 39
1
vote
2 answers

TFS Build 2015 No results found to publish

When using the new TFS Build 2015 vNext, the test ran but the result is not published. The tests run fine locally with results. Any help would be great. Executing the powershell…
Jutiphan
  • 13
  • 5
1
vote
1 answer

MS Access Project In TFS Build

I have a question for all of you and please any ideas are welcome. We have alot of MSAccess database projects in our repository on which developers work and do there tests in Dev Envoirment on there own. As you all know compiling a databse project…
BOB
1
vote
0 answers

Tfs 2012 on premises maven build process

I have configured tfs 2012 build server with the help of MSDN link. But I am missing a step on installing tfs build extension. Reason I am unable to find a link to download the tfs 2012 build extension. If anybody know where to download the tfs…
Vijay
  • 11
  • 2
1
vote
1 answer

TFS Build ignores configured Code Analysis ruleset

I have a solution that is using an hybrid .csproj and project.json combination (for nuget management purposes). So basically the "project.json" file is working as a "packages.config" file with a floating version capability. This solution is using a…
Iceman
  • 463
  • 5
  • 14
1
vote
2 answers

TFS 2015 Update 2 Build Failed

We're running TFS 2015 update 2. When a build starts, it says "Waiting for an agent" then, 2 seconds after, the build fails. I looked whether the agent pools were running, and all of them were on green (as I understand this is expected). Also, …
1
vote
1 answer

Identifying Included Work items in TFS 2015 Release Management

I'm trying to understand the process for vNext Builds and Release Management as far as identifying what work items are included. If I have a build set up on every check-in (each time a work is completed), then each of those Builds will have one work…
Brian
  • 15
  • 3
1
vote
2 answers

Automate Credential creation on build servers for VSTS Nuget feeds

We are in a state of having both on premises TFS as well as utilizing VSTS. Mainly nuget feeds, but some source is migrating. In the meantime getting/publishing nuget feeds is happening on our on premises build servers. I was able to run their Auth…