Questions tagged [build-definition]

217 questions
2
votes
0 answers

Download files from TFS Source Control with Powershell works everywhere but Build Definition

I have a PS script that I wrote that downloads files from source control from a team project. The script is as follows: function Clear-Folder { Param ([string]$directory) try { if ((Test-Path -Path…
2
votes
1 answer

Does TFS 2017 have the ability to export and import build definitions into remote server?

We have Team Foundation Server 2017 setup on our internal server which we build our .NET code in our sandbox environment, but would like to be able to push out new build definitions or updates remotely (to our client - production server) either…
Chaka
  • 1,709
  • 11
  • 33
  • 58
2
votes
1 answer

Use enumerations (dropdowns) in variables of vNext build definitions (TFS)

Is it possible to use dropdown menus for variables in vNext build definitions? And how can this be done?(TFS 2017) Theses variables shall also be available at queue time. By default, all variables are of type string and cannot be changed…
Tobi
  • 61
  • 6
2
votes
2 answers

Export/Import Task Group

We are using TFS 2017 update 2 on-premises. We want to update our test environment with the build definitions from production. With an extension we could copy the build definitions…
Remkop
  • 123
  • 7
2
votes
3 answers

TFS 2010 Build Definition

In the TFS 2010 build definition window, under “Process” there are two required items. They are “Configurations to build” and “Projects to build”. Under projects to build, it will allow me to enter something…
Paul Michaels
  • 16,185
  • 43
  • 146
  • 269
2
votes
1 answer

TFS 2017 Build Definition with .NET 4.6 and ASP.NET Core

I'm trying to create a build definition in TFS for a solution with both Windows client .NET 4.6 libraries and an ASP.NET Core web project. Currently when I try to run the NuGet Restore portion of the build I get the following error…
lumberjack4
  • 2,772
  • 4
  • 30
  • 50
2
votes
0 answers

Adding new Build Definition in VS2015 Process Editor incorrectly checks for file within TFS-Git repository

Problem When the user right clicks on a Build within the 'Builds' menu of the Team Explorer in Visual Studio 2015, and clicks 'Edit Build Definition' they are taken to the Build Definition editor. Within the 'Process' tab, a Process Editor is opened…
2
votes
1 answer

TFS 2017 XAML Builds not supported for Git Branch Policies?

I am trying to set a build definition for a Git Branch Policy in TFS 2017. It seems to me, however, that XAML Build Definitions are not supported in this context (I know XAML builds are marked as obsolete - we plan to change but the amount of work…
2
votes
1 answer

Can you create Build and Release Definitions for Website projects not Web Applications in TFS2015?

Is this possible? We currently have build definitions and release definitions setup and working for Web Applications. However we have a lot of older web site type projects and will not work with the current build and release definitions that we…
2
votes
1 answer

VSTS, Launching Android emulator from a batch file not working as expected

I am trying to launch an Android emulator from a batch file inside my build definition, with the next command: start /WAIT "Start Emulator" "C:\Program Files (x86)\Microsoft Emulator Manager\1.0\emulatorcmd.exe" launch /sku:Android…
2
votes
2 answers

TFS 2015 build definition "Get Version"

In a XAML build definition, there was a parameter "Get Version". (Example) I couldn't find the same functionality in the new TFS 2015 build system, nor on Visual Studio Online / Visual Studio Team Services. As an alternative, I could make a branch…
Robbos
  • 21
  • 4
2
votes
1 answer

How to connect to Release Management to TFS when both TFS and Release Management servers are on different network

I have a following setup: TFS and Release Management Server are setup on different servers (not in same network) TFS in DOMAIN1 RM Server in DOMAIN2 (totally separate/untrusted from DOMAIN1) RM Server is connected to TFS using DOMAIN1\RMService…
2
votes
1 answer

VS2013 Build Definition 'Microsoft.TeamFoundation.Client.BasicAuthCredential' is not marked as serializable

Some background information. I am using; Visual Studio 2013 Using Visual Studio Online ( VSO ) with GIT Hosted Build Controller. Everytime I went to edit a build definition, Visual Studio would throw and error as shown below in the image. Team…
2
votes
2 answers

How to Recursively Delete wildcard files in TFS Build?

I want to recursively delete files that match a certain pattern as part of my post-build cleanup routines in TFS Build. I've tried this... No errors in the build, but it doesn't work.
Chris Arnold
  • 5,753
  • 5
  • 35
  • 55
2
votes
1 answer

Deploying with TFS keeps DEBUG directive on

I'm just realizing that the DEBUG processor directive remains on when deploying with TFS, is there a way to change the settings in the TFS/Azure website or in the build definition, and not in the local solution configuration? I still want the local…
Shimmy Weitzhandler
  • 101,809
  • 122
  • 424
  • 632
1 2
3
14 15