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

How to remove Git repository in TFS 2015?

I'm trying to remove a Git respository in TFS 2015 Update 1. The repository is created inside an existing TFVC team project using the new Git and TFVC in the same project feature. However I can create Git repositories using the TFS portal easily…
Herman Cordes
  • 4,628
  • 9
  • 51
  • 87
11
votes
1 answer

Is there a .NET API equivalent to the "Build 2.0" REST API for TFS 2015?

The REST API Reference for VS Team Services and TFS page separates the "Build 1.0" and "Build 2.0" APIs. It seems like such a difference also exists in the .NET API because running the following code only lists the "old" XAML build definitions and…
dee-see
  • 23,668
  • 5
  • 58
  • 91
11
votes
2 answers

What ports are used for VSTS/TFS Build/Release Agent?

Can someone tell me what ports are used for the new TFS 2015 build agent for communication with TFS on-prem and Azure DevOps (aka VSTS)?
Kevin Kraus
  • 283
  • 1
  • 2
  • 11
11
votes
1 answer

TFS 2015 Build: NuGet restore from an internal repository

We have set up an internal NuGet server and added that server into the package manager settings to publish our dependencies to our local dev machines. Now we want to use the new TFS 2015 Build system to build our solution. at the start of the…
11
votes
2 answers

Start vNext build from Powershell and get artifacts

In order to automate our deployments, I would like to rebuild an application, based on a given ChangeSetId. Once this build has completed, I want to get the artifacts of the build (the .exe), so we can deploy them. For the sake of the question I am…
Samjongenelen
  • 401
  • 4
  • 18
10
votes
1 answer

Visual Studio 2017 - Team Explorer Builds 'Page not found'

We are using XAML builds in TFS 2015. In the team explorer, builds tab in Visual Studio 2017 (but still connecting to the TFS 2015 server) all of a sudden I am seeing the following 'Page not found' message and none of my XAML builds appear: This…
10
votes
4 answers

Connect to TFS error TF31001 object reference not set to an instance of an object

I have a user running VS 2015 trying to connect to our on premise TFS 2015 U2 environment. Other users are able to connect but this user is receiving the following: Object reference not set to an instance of an object when trying to connect to the…
EmanP
  • 306
  • 1
  • 2
  • 14
10
votes
2 answers

How to recover deleted build definition

We are using the "new, scriptable build system" of TFS 2015 and all of a sudden one of our build definitions is gone. It seems that it deleted itself. Is there a way to undelete/recover a build definition? Where are the build definitions (those JSON…
bitbonk
  • 48,890
  • 37
  • 186
  • 278
10
votes
2 answers

TFS web portal: Possible to link/URI directly to line number in file?

I would like to send my coworkers a link directly to a line number in a file in our TFS repo. Is this possible? If so, how? We are using TFS 2015. Currently, the best way I have found is to link to the file like…
skataben
  • 2,023
  • 1
  • 22
  • 25
10
votes
3 answers

TFS 2015 Publish Build Artifacts in one directory

We have just upgraded from TFS 2010 to TFS 2015 and I'm recreating a XAML-Build-Definition in the "vNext" build/workflow-format. In the old Build it was possible to output all files (the DLLs) flat in one single directory, without their original…
ovm
  • 2,452
  • 3
  • 28
  • 51
10
votes
2 answers

In-place migration from TFS 2010 to TFS 2015

I have a question about in-place upgrading from Team Foundation Server 2010 to Team Foundation Server 2015 Our current situation contains the following software versions: - Windows Server 2008 R2 - SQL Server 2008 R2 - Team foundation Server…
Robin Smits
  • 199
  • 2
  • 8
10
votes
3 answers

Require Pull Request in TFS

Pull Requests were recently implemented in TFS. Is there a way to force users to make Pull Requests, and have others review it before they can merge into a branch? I've tried restricting Contribute permissions to the branch for a TFS group, but that…
Jonn
  • 4,599
  • 9
  • 48
  • 68
9
votes
1 answer

The session for this agent already exists

I am using TFS to execute a nightly build that includes several steps that use the TFS Test Agent. I am running the latest version of TFS/Test Agent(2015 - Update 3) and there are no other builds being run at this time. Often(maybe half the time),…
David Rogers
  • 2,601
  • 4
  • 39
  • 84
9
votes
2 answers

TFS 2015.3 custom build step not sending variables to the script

I've followed closely the design guidance found here, here and here, but I keep getting this PowerShell error: Cannot process command because of one or more missing mandatory parameters: SourcePath FilePattern BuildRegex. The relevant config data…
InteXX
  • 6,135
  • 6
  • 43
  • 80
9
votes
2 answers

On Premise Gated Check-in Fails with "The shelveset ... could not be found for check-in"

I am having an issue with the new TFS 2015 Update 2 Gated Builds. After attempting a check-in the gated build queues just fine, every part of the build is successful until it reaches the last step of "Check in gated changes". When I look at the log…
abest
  • 494
  • 4
  • 15