Questions tagged [build-definition]
217 questions
0
votes
2 answers
Creating build definition with visual studio
I am creating a build definition in visual studio 2013. As you know, while creating build definition we can also set the assembly (in "Automated Tests" section) which contains the unit test methods to run. I am able to create the definition till…

Saurabh
- 157
- 1
- 3
- 11
0
votes
1 answer
How to setup build definition to update IIS settings
Using TFS 2010
The solution I am working with is approximately 34 projects. I have gotten my build definition to copy the build output to a separate location. of those 34 only 3 are actually web type projects. This works fine and gives me compiled…

macm
- 544
- 7
- 21
0
votes
1 answer
Excluding Multiple Files in TFS Build
I'm trying to exclude a series of files from a custom deployment step in my TFS 2008 build definition. I want to include all files except those starting with either P0 or P1. Here are some of my attempts...

Chris Arnold
- 5,753
- 5
- 35
- 55
0
votes
2 answers
Error when execute within a TFS build definition
When I tried to call command-line to get latest update for my TFS mapped folder
TF get /recursive
The call complete successfully from the run window of Windows 7.
However, when I put the call into a .bat file and run it via InvokeProcess within a…

Nam G VU
- 33,193
- 69
- 233
- 372
0
votes
0 answers
How to print .bat script error into summary section when running a TFS build definition
I'm running a .bat file via the InvokeProcess activity in a build process template.
The file is well executed along within a queued build but the error log (to the console) of my .bat file is not visible in the Summary section of the executed build…

Nam G VU
- 33,193
- 69
- 233
- 372
0
votes
1 answer
How can I cancel build from Task in TFSBuild.proj?
I have a trigger to build projects on check-ins. But I want to add some check and cancel build in some cases.
I created a Task with condition I want to check. I can run this task using TFSBuild.proj file with code like this where CheckIfBuildNeeded…

Дмитро Кононенко
- 415
- 4
- 18
0
votes
2 answers
How to restore a build definition in tfs 2012 using Laika42 Build Definition Extension tool?
A few days ago i asked a question, about how to see the modification of a build definition in tfs 2012. I found out, there is no way by default in VS to do this and i also got a link from this tool in the…

developer junior
- 15
- 2
0
votes
1 answer
Associating changesets that are only relevant to the build definition
I have one team project with multiple solutions in TFS 2012 and also have multiple build definitions that download only relevant sources to build.
I've noticed that each build includes all changesets/work items that have been checked in for other…

drcaesar
- 5
- 4
0
votes
1 answer
TFS 2010 API - Copy/clone build definitions with process parameter values
I'm using the TFS API for copying buildefinitins. However I am not able to copy build process template paramaters with values. I can't see the values in an IBuildDefinition object. Where can i fetch the values and clone them as well?
My starting…

Piguy
- 465
- 1
- 5
- 11
0
votes
1 answer
How to programmatically get newly created build definitions in TFS?
Currently I am querying the build definitions by project and getting all of them. My code (simplified) looks something like the following
var server = new TfsTeamProjectCollection(new Uri("url"));
server.EnsureAuthenticated();
var buildServer =…

Tanmoy
- 44,392
- 16
- 45
- 55
0
votes
1 answer
TFS 2010 - CI triggers ONLY affected workspaces solutions
I have a TFS 2010 build definition with its XAML workflow logic and stuff.
This is a Continuous Integration def, and it's associated to several solutions included in the same server/workspace folder.
I want it to compile and run tests but just the…

Silvestre
- 804
- 11
- 25
0
votes
1 answer
How to use an editor for build definition's input?
I am developing an a plugin that definitions build definitions. I have an option where you can add files. That option should be project specific and so data shouldn't persist between projects. I am using a fieldEditor to get the input values.
The…

Varun
- 31
- 1
- 8
0
votes
1 answer
Is it possible to use a single TFS build definition to deploy multiple project apps into their respective deployment folders?
Our solution (the structure of which I personally don't have any control of) has an MVC web application project, and several WCF app projects. We've got our TFS server set up so that for our real time dev environment, each of those applications are…

Richard Neil Ilagan
- 14,627
- 5
- 48
- 66
0
votes
2 answers
TFS 2010 Build Definitions only output DLLs and PDBs?
So, I'm new to TFS build definitions - and the RA team at my company asked how to deploy a project that I built. In this case, a Windows Service project.
When I compile from Visual Studio, the "bin" directory has all the files I need... including…

Timothy Khouri
- 31,315
- 21
- 88
- 128
-1
votes
1 answer
How to Configure TFS 2018 build/release definition, to deploy a particular service out of many in an SOA?
I have a "SOA" styled application, with a single solution containing almost 100 individual projects (which are a solution within them, i.e. they can be run independently). I have created a build and release definition in TFS 2018 and everything…