Questions tagged [tfs-2015]

Use this tag for version specific questions about Team Foundation Server 2015. Also, always tag the question with the "master" tag [tfs] as well. If this is not version-specific, use [tfs] for general questions and use [azure-devops] for Azure DevOps questions.

1711 questions
14
votes
2 answers

How to use Visual Studio 2017 with TFS Visual Studio Build Step

I am running TFS 2015 and are using the Visual Studio Build Step. On the developemnt machines I moved to use Visual Studio 2017 so I also want to use Visual Studio 2017 for the TFS builds. I installed Visual Studio 2017 on the build server and…
Marco
  • 430
  • 4
  • 9
14
votes
3 answers

Configuring a TFS2015 build agent fails because agent pool not found. Why?

When configuring a build agent with the use of a PowerShell script, provided by an on-site TFS2015, the script errors out because it cannot find the agent pool on the server. However, the agent pool 'default' definitely exists. On another server the…
RoelF
  • 7,483
  • 5
  • 44
  • 67
13
votes
1 answer

How to delete/unregister build agent on TFS 2015

I have set up TFS 2015 with dedicated server to store the build agent. However, when I delete the build agent on TFS 2015 app server, it still show up on build server, in windows "Services" Now the build server display error because the service…
Harrison
  • 161
  • 1
  • 1
  • 9
13
votes
4 answers

Prevent unnecessary artifact download when using Release Management

I'm using TFS 2015 Update 2 Release Management (i.e, the "Release" tab), and I've got my build putting the desired output in a file share drop location. It looks something like: /Drop --> /App 1 --> /App 2 --> /App 3 My Release Definition has a…
RMD
  • 3,421
  • 7
  • 39
  • 85
13
votes
3 answers

TFS 2015 REST API Authentication

We are trying to invoke the TFS 2015 REST API's from a web-page using Javascript and have a challenge in establishing valid authentication with the TFS server. We do not know how to generate a personal access tokens or an OAuth access tokens. The…
vikkee
  • 361
  • 1
  • 2
  • 12
13
votes
1 answer

How to fail the build from a PowerShell task in TFS 2015

I am trying to make a certain result in a PowerShell script fail the build process, but its not working for me. I am using the new build actions from TFS 2015 and tried the following options: Logging commands exit 1 I do get red text in the log…
Rob Bos
  • 1,320
  • 1
  • 10
  • 25
13
votes
4 answers

TFS 2015 SDK Missing Microsoft.WITDataStore64.dll

I am attempting to switch to the TFS 2015 SDK dlls (Version 14) for a few reasons. First, they are in nuget and second, the 2013 SDK dlls (Version 12) require the 32-bit flag flipped in IIS. I pulled down nutget package and the namespaces all line…
Sam Sussman
  • 1,005
  • 8
  • 27
12
votes
1 answer

Visual Studio 2015. Files not added to TFS

I'm using Visual Studio 2015 update 3 with TFS hosted at visualstudio.com. When I add a C# class file to one of my projects in Visual Studio, it's not automatically added to source control. For other projects in the same solution, C# class files are…
Frode
  • 3,325
  • 1
  • 22
  • 32
12
votes
3 answers

Code coverage not working TFS build

I have enabled the code coverage in the build definition for a project in TFS. It's building as expected, unit tests are running as well but code coverage shows "No build coverage data available" see the screenshot below. Any help is appreciated.
mahfuz01
  • 453
  • 4
  • 20
12
votes
3 answers

Why is the "Create Pull Request" menu item in Visual Studio 2015 always disabled?

No matter what I try, this menu item never seems to "enable": What am I missing? This is in VS 2015 Update1 pointed at a Git repo on TFS 2015.
Keith Hill
  • 194,368
  • 42
  • 353
  • 369
12
votes
2 answers

How to get PAT from on-premise TFS2015

We want to migrate our custom steps from XAML build to new build task in TFS2015 on-premise. I installed NodeJS and tfx-cli but when tfx-cli want to connect to TFS I need to provide pat (personal access token) but I cannot find where I can get it.…
McMlok
  • 527
  • 4
  • 17
12
votes
2 answers

TFS drop, exclude obj folder using minimatch pattern

I'm setting up TFS 2015 on-prem and I'm having an issue on my last build step, Publish Build Artifacts. For some reason, the build agent appears to be archiving old binaries and I'm left with a huge filepath:…
Rodders
  • 2,425
  • 2
  • 20
  • 34
11
votes
2 answers

Team Foundation Server Power Tools for Visual Studio 2019

We use Team Foundation Version Control(TFVC) on on-prem TFS server. For quite a while it was possible to use TFS Power Tools (tfpt tool) from Visual Studio Developer Command Prompt. Lately we moved to VS 2019. Problem is that we can't find any…
Belurd
  • 772
  • 1
  • 13
  • 31
11
votes
3 answers

"The license for Visual Studio has expired." when compiling with Visual Studio from TFS build

I need to build SSIS projects (.dtproj) on our build server. They aren't supported by msbuild so I need to use Visual Studio to do it. The wisdom of Stack Overflow indicates I do not need a new license of VS to do this (Is a separate Visual Studio…
mhenry1384
  • 7,538
  • 5
  • 55
  • 74
11
votes
5 answers

TFS 2015 visual studio build task does not support VS 2017

We have a build definition in TFS 2015 that have worked fine with Visual Studio 2015 projects and solutions. We have now decided to upgrade to Visual Studio 2017 and thus we would like to target Visual Studio 2017 in the Visual Studio build task. We…
Quattordici
  • 111
  • 1
  • 6