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

TFS and msbuild version number with last changeset

I want to create a build number which looks like Major.minor.Date.LastChangeSetInTFS, the problem is how to get last changeset number from the TFS. Is there any property, or something??
Leszek Wachowicz
  • 1,015
  • 1
  • 14
  • 24
15
votes
2 answers

wildcard test containers to mstest. exe

Is it possible to pass wildcard testcontainer values to the command-line mstest.exe rather than manually hardcoding multiple testcontainer values? Such as Mstest.exe /testcontainer:tests.dll I'm wanting to manually invoke mstest in our tfs 2012…
Kyle
  • 951
  • 3
  • 14
  • 31
15
votes
2 answers

how to prevent an Gated Check-In to put the Keyword ***NO_CI*** in the Comment

This Question is related to my Question Combining “Gated Checkin” and “Continuous Integration” Builds in Team Foundation Server I Posted this Morning Thanks to @pantelif I know that after a Gated Checkin Build build Continuous Integration Builds are…
sebastianmehler
  • 1,033
  • 1
  • 11
  • 23
14
votes
3 answers

Does Visual Studio need to be installed on the TFS build server?

We recently moved to Team Foundation Server 2008 from Source Safe. We are setting up some automated builds and have run into some issues with the publish of click once apps that seem to require additional installs on the build server. I've seen…
Paul G
  • 2,722
  • 4
  • 37
  • 54
14
votes
3 answers

When to Use Gated Check-In?

I am using TFS 2010. Currently I use Gated Check-in build on the trunk (MAIN) branch only. And, I use CI on DEV and RELEASE branches. Why not use Gated Check-in build on all the branches? In what scenarios, you shouldn't use Gated Check-in build…
H A
  • 1,251
  • 2
  • 24
  • 39
14
votes
2 answers

MSBuild and Webpack

I am developing an Angular2 application in VS2015 and have a webpack bundling and minification environment set up for the same. This is my webpack.conf.js switch (process.env.NODE_ENV) { case 'prod': case 'production': …
lohiarahul
  • 1,432
  • 3
  • 22
  • 35
14
votes
2 answers

Is MSBuild going to be dead because of Windows Workflow?

MSBuild in TFS 2010 has been replaced by Windows Workflow 4.0. It means when you are creating a Build Definition, you won't have a TFSBuild.proj to edit instead you must edit a workflow to customize your build. BTW am I correct if I say Microsoft is…
Afshar Mohebi
  • 10,479
  • 17
  • 82
  • 126
14
votes
1 answer

Share code between projects in tfs 2010

What is the best way to handle code sharing in TFS 2010? We have a couple of Visual studio projects that other Visual Studio projects use. ex: Shared Project Project 1 Solution -Shared Project -Project 1 Project Project 2 Solution -Shared…
Jimmy Engtröm
  • 1,998
  • 4
  • 23
  • 34
14
votes
2 answers

TFS2012 build server not restoring NuGet packages from in-house repository

I've set up an in-house NuGet repository (a shared folder on one of our servers), and have added it to the "Available Sources" list in the Visual Studio NuGet settings on my PC. I'm able to successfully install a package into my solution from this…
Andrew Stephens
  • 9,413
  • 6
  • 76
  • 152
14
votes
1 answer

How to Check the Team City version

How can i check the Team City version details? and which version support for project moving (move project and build configurations from one server to another server)? Thanks,
user3318027
  • 143
  • 1
  • 4
14
votes
1 answer

Build issue when using package restore in Team Foundation Service

I'm trying Microsoft Team Foundation Service ( the Cloud TFS ) and using automated hosted build and package restore. It always fails, but according to log it seems that the package restore works fine but it's a problem when locating the binaries we…
Ingó Vals
  • 4,788
  • 14
  • 65
  • 113
14
votes
1 answer

Auto Deploy using Continuous Integration in TFS 2012

I have setup continuous integration for a WCF project and want to use the MSBuild Arguments to automatically deploy the application to a remote server but it is not deploying. When running a new Build all the Tests pass and all the projects build…
Andy Clark
  • 3,363
  • 7
  • 27
  • 42
13
votes
1 answer

VS2010: Exclude a project from build

I have a solution that has a wcf service that connects to SQl server. When I am offline I have another service that I use for development and testing that stores to in memory storage. I would like to exclude the test service from my Team build as I…
Aran Mulholland
  • 23,555
  • 29
  • 141
  • 228
13
votes
5 answers

Team Foundation Server 2010 / MSBuild: Error parsing the nested project section in solution file

I'm trying to set up a nightly build for one of my company's products. When I execute the build, it fails after 45 or so seconds, giving the error "Error parsing the nested project section in solution file. This is the log from the build: Delete…
Chris
  • 1,231
  • 1
  • 17
  • 35
13
votes
7 answers

Assembly references won't resolve properly on our build server

We code in C# using VS2008 SP1. We have a server that runs Team System Server 2008 which we use for source control, tasks etc. The server is also our build machine for Team Build. This has been working just fine for a long time. Untill now. We get…
Sub-Star
  • 442
  • 1
  • 5
  • 11