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
9
votes
1 answer

What is expected for DeployIisAppPath setting on MSBuild argument?

SERVERNAME(myDomain\Username) Application Pools Sites DEV Site1 DEV Site2 dev Site 3 bin Content ... Views etc ... This is my basic layout of our DEV web server. Our DEV web server…
MADCookie
  • 2,596
  • 3
  • 26
  • 46
9
votes
7 answers

Diagnosing TFS Build Hanging after 'Copy Files to Drop Location' step

I need some advice on how to diagnose a hanging build. It’s only been happening in the last week or two and I have good reason to suspect it’s something that I’ve done recently and not just a coincidence Setup TFS 2013 4 machine setup - 2 app…
Betty
  • 9,109
  • 2
  • 34
  • 48
9
votes
2 answers

MS Deploy task failed DeploymentBaseOptions does not contain a definition for UserAgent

I am having trouble running a Team Foundation 2013 build with MS Build parameters for deployment and I am getting an error : C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets (4255): Web deployment task…
kwiri
  • 1,399
  • 2
  • 15
  • 22
9
votes
2 answers

Git submodule fails on TFS Build

When I try to build using TFS with Git, there's a limitation whereby TFS's git provider doesn't yet support sub modules. Bit of a pain, but what the heck, I'm able to tell TFS to run a Batch file prior to compilation. I've used this to call a manual…
abbottdev
  • 807
  • 1
  • 8
  • 13
9
votes
1 answer

MSBuild TFS Build Number

I have been using SVN for a little while now. recently on a project I am using TFS. With the builds I like to append/update the build version number on the project output. I do this on the masterpage so that it is clearly visible on the…
minalg
  • 481
  • 2
  • 4
  • 13
9
votes
4 answers

TF270016: An error occurred publishing log files from

Team, Its frustrating so far today with TFS 2012, I have been queuing a build and the build server is unable to copy/drop to the specified folder. I have installed TFS 2012 on Win Server 2008 R2. Basically the error says that the access to the…
VivekDev
  • 20,868
  • 27
  • 132
  • 202
9
votes
3 answers

TargetProfile gives No default service configuration error

I am building an Azure Cloud service application in a TFS 2012 build definition. Everything is working properly with the default Cloud configuration. However when I set the TargetProfile property in the MSBuild arguments I get the following error.…
MikeDouglasDev
  • 1,331
  • 10
  • 22
9
votes
3 answers

Ninject ActivationException: Error activating IAlertManagement

I'm getting the following error: Test method: BootStrapperTest.Can_Create_Alert_Management_Object threw exception: Ninject.ActivationException: Error activating IAlertManagement No matching bindings are available, and the type is not…
Cole W
  • 15,123
  • 6
  • 51
  • 85
9
votes
6 answers

Microsoft (TFS) Build server - The type or namespace name '...' does not exist in the namespace '...' (are you missing an assembly reference?)

I am working on setting up a buildserver for our team. Background We are using Microsoft Visual Studio 2010 Ultimate. Our product contains C# code(mainly), external DLL’s and C code. We are working with .Net 4.0 and have more than 70 projects. We…
Mr. JWolf
  • 1,375
  • 2
  • 14
  • 33
8
votes
1 answer

Why Unpublishable?

We have a solution that contains 17 projects. Solution has several configurations such as Debug, Release, Test, Publish and etc. Also team project has several build definitions, each one is specialized for a configuration. We use Release…
bahadir arslan
  • 4,535
  • 7
  • 44
  • 82
8
votes
1 answer

YUI compressor and TFS Build

We have a project where the .js and .css files gets compressed with YUI Compressor. A very good tool. We also use TFS 2010 as a build server with nightly builds that also deploys to our dev web site. The problem we're having is that the file YUI…
Mattias
  • 684
  • 3
  • 7
  • 16
8
votes
1 answer

How to use Output Variables in Release pipeline

I searched all the docs about Output Variables are for build pipeline and only told me how to set in .yaml. But how to use it in release pipeline? Supposed I have 2 variables $abc="123" $def="456" in step Login. How to set them in below text box?…
Newton Zou
  • 558
  • 1
  • 5
  • 20
8
votes
1 answer

How to deploy Windows Service projects with Team Build 2010

I have a VS2010 solution, which includes several Windows Service projects. I need to deploy these services as part of a build in Team Build 2010, and the Windows Services have to be deployed on several Windows Server machines. How can I do this?
Rotte2
  • 183
  • 2
  • 11
8
votes
0 answers

TFS 2017 Test Task Version 2 unable to get Feature Flag warnings

Recently started getting the following warnings from my VsTest task Version 2 (Version 1 does NOT produce the warnings) after the build machine completes a (TFS2017) build: Unable to get feature flag: TestExecution.EnableTranslationApi Unable to get…
8
votes
3 answers

The easiest way to test TFS2010 build template

I'm currently working on creating a build template for TFS2010 builds. However, I notice that I'm currently 'spamming' the source control with every change I make to the template (and lots more for all the fixes for those changes). I wonder what the…
Patrick Huizinga
  • 1,342
  • 11
  • 25