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
11
votes
4 answers

Sign every executable with an Authenticode certificate through MSBuild

I have an Authenticode certificate (.pfx) which I use to sign executables. How can I configure Team Build so that it signs every single executable (.exe, .dll, ...) automatically while building the project?
Mephisztoe
  • 3,276
  • 7
  • 34
  • 48
10
votes
2 answers

Stop Refresh inside TFS Build window in Visual Studio

Is there a way to stop the constant refreshing inside Visual Studio when looking at a TFS Build? Using VS 2010 SP1 and TFS 2010 SP1. When watching a build in the Build window, the screen refreshes every 10 seconds or so. Not a big deal except…
timw
  • 148
  • 8
10
votes
4 answers

How do I make a TeamCity build appear in the TFS Build Explorer?

We are using TFS 2010 for source control and project management, and TeamCity 6.0 for performing builds and build reporting (CI and daily deployments for testers). Setting up TFS source labeling in TeamCity to match the build number was very…
Rob Hunter
  • 2,787
  • 4
  • 35
  • 52
10
votes
1 answer

Trigger build when another finished successfully in TFS 2008

This is a feature I'm used to from TeamCity - I could specify that a certain build configuration will be triggered by the success of another build configuration. I could even pass the results of one build to another - but perhaps this is asking too…
Dror Helper
  • 30,292
  • 15
  • 80
  • 129
10
votes
1 answer

Team Build, SGen & Mixed mode assembly

Bit of a strange one here guys. We have a fairly complex (111 projects spread across asp.net, silverlight, WFC, Ria Services etc) solution, which builds correctly on my dev box (2010). If I fire up VS on our build machine, I can also build the…
user452423
  • 101
  • 1
  • 3
10
votes
1 answer

Adding parameter to "Queue New Build" Dialog

I built a custom build processes template based on the DefaultTemplate.xaml and added a few parameters. They show up fine on the Build definition window but I can not find a way to have them be displayed on the parameters tab of the Queue New Build…
Sean Lynch
  • 1,604
  • 19
  • 29
10
votes
2 answers

Accessing the build revision number in Powershell script during TFS build

I can get the build number from IBuildDetail.BuildNumber but this is taken from the build definition and there fore might not include the revision number $(Rev:.r) or it might not be at the end. So I would like to get this number without having to…
SmudgerDan
  • 413
  • 5
  • 16
10
votes
1 answer

Team Build's build number and $(Rev:.r)

TFS Build 2010 uses an internal build number. It's similar to $(Rev:.r). $(Rev:.r) increases in each day while internal build number are increased in other way. The questions are: What is the official name of the internal build number? How to…
Afshar Mohebi
  • 10,479
  • 17
  • 82
  • 126
10
votes
5 answers

TFS 2013 default template run powershell script and log output

running a powershell script from within a build process has become really really straight forward with VS 2013. Unfortunately no write-host commands are being logged to the tfs build log. So after a build completed I cannot look into the log file…
lapsus
  • 2,915
  • 2
  • 32
  • 61
10
votes
6 answers

The directory containing the assemblies for the Visual Studio Test Runner is not valid

We have upgraded our TFS installation from 2012 to 2013. When running our builds they will fail with the following error if unit tests are enabled: TF900547: The directory containing the assemblies for the Visual Studio Test Runner is not…
Magnus Lindhe
  • 7,157
  • 5
  • 48
  • 60
10
votes
3 answers

MSBuild locking dll used on T4 template generated on build

I'm having a lot of trouble trying to identify why MSBuild is blocking access to a dll used inside a new T4 template I just created. The problem is kind of hard to explain (and even ask, as is evident by the title). I created a T4 template to…
julealgon
  • 7,072
  • 3
  • 32
  • 77
10
votes
4 answers

ItemGroup Item scope, alternatively "Why does MSBuild hate me?"

I have a solution I'm trying to get to build on TFS. I want to update the versions of all appropriate files, and I've been stuck trying to get this done. There are plenty of links on how to do it, but none of them work for me, due to one little…
9
votes
4 answers

How can I code simultaneously with a friend on Visual Studio?

Is there an addon or extension for Visual Studio that will enable me to code C# programs with a fellow programmer simultaneously? Simultaneous as in my friend sees what I am typing, as I am typing it.
puradox
  • 1,358
  • 1
  • 12
  • 13
9
votes
5 answers

How to specify correct search mask for "Test assembly file specification" dialog in TFS2010 build definition?

I don't know how to specify correct mask to search for my test assemblies in TFS2010 build definition. I'm not using default Binaries folder for output assemblies. Each test project has its own bin\Debug or bin\Release output folder. If I use the…
Ludwo
  • 6,043
  • 4
  • 32
  • 48
9
votes
3 answers

Windows Service user account trouble for TFSBuildServiceHost.exe

Experienced a very strange problem today on our TFS2010 build server. Suddenly the build service failed for no apparent reason. We´re been trouble shooting it all day, but still haven´t found the reason yet. One of the problems is that the build…
jaspernygaard
  • 3,098
  • 5
  • 35
  • 52