Questions tagged [build-definition]
217 questions
4
votes
1 answer
tfs build processes are slow and takes long time to finish
If I Build my solution from VS, it takes less than a minute to do all the checks to tell me all the projects have been built. If I do the same in team foundation build, it takes closer to 20 minutes.
i define as "items to build" only the solution…

Arash Kh
- 39
- 1
- 5
4
votes
3 answers
TFS build definition does not deploy web application to IIS
I am currently trying to get a TFS Build Definition to automatically deploy my web application to the server. The build definition is just a standard manual build definition.
I have create the build definition correctly within the team explorer for…

Juzzbott
- 1,737
- 2
- 25
- 44
3
votes
3 answers
How to build a solution with multiple build configuration (debug, release) in Azure DevOps build definiton
Is something like this possible, to build the solution with two configurations at the same time?

Toruk Makto
- 51
- 1
- 6
3
votes
1 answer
Cancel Jenkins job if TFS Build Definition that queued it was cancelled
I have a TFS Build Definition which has a Queue Jenkins job step. If I cancel the TFS Build Definition the Jenkins job isn't cancelled. Is there a way to make it cancel?
I'm thinking maybe schedule a step to run if build definition was cancelled…

sashoalm
- 75,001
- 122
- 434
- 781
3
votes
0 answers
Could not load file or assembly 'LibGit2Sharp.GitServer, Version=14.0.0.0, Culture=neutral, PublicKeyToken=xx' or one of its dependencies
I was trying to execute a powershell script after tfs build by customizing the default process template using vs2017. According to this article i have to use InvokeProcess and ConvertWorkspaceItem activities. Since it was not found in the tool box,…

Beingnin
- 2,288
- 1
- 21
- 37
3
votes
1 answer
Running (x)Unit Tests on TFS Build Pipeline
I am merely a beginner and still trying to learn about TFS and its continuous integration workflow. Having that said, this could as well be a stupid question to ask as I might be missing on a simple detail, though any help or advice would be highly…

Emre Akı
- 135
- 11
3
votes
3 answers
TFS2015 build: "One or more of the steps defined in the build does not have an associated task definition"
For one of our build definitions (Scheduled, from monday to friday, at 2:00 AM) we receive the following error message every night:
One or more of the steps defined in the build does not have an
associated task definition
Unfortunately no log is…

E. Verdi
- 310
- 2
- 19
3
votes
1 answer
Update TFS Build Definition from Text File
At my company we are using Team Foundation Server 2015 and Visual Studio 2013. Our build definitions use a xaml build process template.
Using "Edit Build Definition..." to make changes to the build definition can be extremely tedious and…

Matthew James Briggs
- 2,085
- 2
- 28
- 58
3
votes
0 answers
Find most recently created sub directory Windows via batch file
I'm looking to create a Visual Studio post build script that uses xcopy or similar to copy the latest build files into another directory. I've created a batch script that returns the most recent filename, but haven't found a solution to find the…

Michael Dewar
- 31
- 3
3
votes
1 answer
How to refresh build process template in Process section when creating new build definition via TFS 2012
When creating a new build definition, we have the Process section as below snapshot where the items in the list is untouchable - i.e. I don't know how to refresh and/or clear that list and add new ones (by hitting New button next to it).
If you know…

Nam G VU
- 33,193
- 69
- 233
- 372
3
votes
3 answers
TFS 2012 Build Definition for web deployment ignores parameters defined in project files
I'm trying to set up a TFS 2012 build definition that will build a solution and deploy several web apps within the solution. I came across this article that seems to address exactly what I'm trying to do and also seems to agree with the solution…

jkindwall
- 3,816
- 1
- 17
- 17
2
votes
1 answer
Edit build definition error message
I get this error every time I try to edit a build definition under Visual Studio 2010. I would get the following message "There were 0 failures, 6 errors and 0 warnings loading custom activities and services." in an info dialog box, and the…
user1282174
2
votes
1 answer
TFS 2010 Build Definition: MSBuild Arguments seems to be ignored
I am trying to create a package after a build in TFS 2010.
When I launch the following command on my computer:
MSBuild.exe Fenicorp.Front.Web.FunnyApplication.sln
/p:DeployOnBuild=true;DeployTarget=Package
the solution is compiled and there is a…

alexandrekow
- 1,927
- 2
- 22
- 40
2
votes
1 answer
Does Gradle automatically infer dependency between tasks? If so, when?
In my build script, when I configure the downloadAndUnzipFile task, I am explicitly querying output of downloadZipFile task. I expected this is sufficient for Gradle to infer a dependency between the tasks, but it apparently is not, because I get an…

user7610
- 25,267
- 15
- 124
- 150
2
votes
2 answers
Running on VSTS an asp.net core sln I got: Error MSB4018: The "TransformWebConfig" task failed unexpectedly
I am trying to create a build definition for an asp.net core application. My project compiles on the Visual Studio and also with MSBuild. When I am trying to run the solution on Azure to compile is where it fails to show the message…

Zinov
- 3,817
- 5
- 36
- 70