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
158
votes
39 answers

No test found. Make sure that installed test discoverers & executors, platform & framework version settings are appropriate and try again

I am in the process of upgrading our existing solution to .Net 4.6.1 and have been unable to get our unit tests to run during a server build. Locally they run as expected and flipping the framework version back to .Net 4.5.1 makes them run again on…
Tore Østergaard
  • 4,362
  • 3
  • 27
  • 43
76
votes
13 answers

Error 'No agent could be found with the following capabilities: msbuild, visualstudio, vstest'

I'm setting up a new build server using TFS 2015 and after I configured the agent, when I tried to queue a build I got this error: No agent could be found with the following capabilities: msbuild, visualstudio, vstest How can this be resolved?
Jean Jimenez
  • 4,732
  • 5
  • 24
  • 37
54
votes
5 answers

Partially stage files with Visual Studio

Is there any way to just stage pieces of code in a file instead of the whole file? Just wondering if this is possible. Using Visual Studio 2015, TFS 2015 (Git).
Valter
  • 2,859
  • 5
  • 30
  • 51
38
votes
3 answers

Where can I find Microsoft.TeamFoundation.Build.Client in Visual Studio 2015?

I have a clean windows installation with just Visual Studio 2015 installed and I'm looking to find the Microsoft.TeamFoundation.Build.Client assembly? I'm wondering if it has now been made obsolete with the upcoming vNext Build or if the namespace…
Gary Howlett
  • 1,297
  • 1
  • 14
  • 17
34
votes
1 answer

No build notifications with VS 2015?

We used to set up our dev machines to receive build notifications in the task bar. However, the process we've followed - as per this description - doesn't apply any more with Visual Studio 2015 as the Build Notification app is no longer part of the…
cacau
  • 3,606
  • 3
  • 21
  • 42
32
votes
3 answers

Differences between Visual Studio Build step and MSBuild Build step

I'm creating some build definitions and the only difference I see between the Visual Studio Build Step and MSBuild Build Step is that the VS Build Step adds the visual studio version to the build. Somebody can explain maybe more differences?
Fabito
  • 1,165
  • 2
  • 13
  • 30
23
votes
8 answers

How to get TFS2015 Build (Build.vnext) and NuGet package restore to use custom package sources

I'm trying to get our TFS2015 Build (TFSBuild vnext) going along with VS Team Services. Thus far most blogs and documentation has been helpful, except for when trying to build a project that uses custom package sources for NuGet automatic package…
Jaans
  • 4,598
  • 4
  • 39
  • 49
22
votes
3 answers

Resolving tasks in VSTS / VSO (Agile Template)

I have created a new project in VSTS (Visual Studio Online) using the Agile Template. I have created a sprint, and added a user-story. Within the user-story I have some tasks. On the sprint Kanban board there are 4 columns; New Active…
Mark Cooper
  • 6,738
  • 5
  • 54
  • 92
22
votes
6 answers

Compare current file to historical version in VS2015 TFS Git Source Control

When I pull up the history of the file I can compare that version with another version listed in the history by selecting both and doing a "Compare", or I can compare a historical version and it's changes wrt to it's previous version by selecting…
Preet Sangha
  • 64,563
  • 18
  • 145
  • 216
18
votes
4 answers

"Unable to find version" during TFS Build 2015 when restoring NuGet packages

I'm having troubles with NuGet package restoring during a TFS Build 2015. Since some packages require NuGet 3.x client, I've configured the new scriptable build to use a custom NuGet location where I've placed the executable of NuGet Command-Line…
Matías Fidemraizer
  • 63,804
  • 18
  • 124
  • 206
16
votes
1 answer

Waiting for an available agent / Waiting for an agent to be requested

(26.07.2016)I am using TFS2015 Update3 in a VM. When I try to queue a build through the web interface or from Team Explorer, I get the following. Then I restart all services related to TFS in services.msc and then after some time it starts working…
Legends
  • 21,202
  • 16
  • 97
  • 123
16
votes
1 answer

How do I update BuildNumber using PowerShell

I would like to update the Build.BuildNumber variable from a PowerShell script as a build step. I've tried: Write-Host "##vso[task.setvariable variable=BUILD_BUILDNUMBER]1.2.3.4" and Write-Host "##vso[task.setvariable…
JL.
  • 78,954
  • 126
  • 311
  • 459
16
votes
3 answers

Build and Deploy a Web Application with TFS 2015 Build

We have just installed TFS 2015 (Update 1) on-premise and are trying to create a Continuous Integration/Build system using the new TFS Build system. The build works fine, and gives me a green light, but when I look at the default build it has only…
Erik Funkenbusch
  • 92,674
  • 28
  • 195
  • 291
15
votes
2 answers

dotnet test not creating test results folder

As part of our ASP.NET Core 2.0 build process I have added a dotnet test command which I have added as a Windows batch file. Here is my command. dotnet test "MyProject.csproj" --no-restore --results-directory "MyProject\TestResults" --verbosity…
DomBurf
  • 2,452
  • 5
  • 36
  • 71
15
votes
3 answers

TFS 2015 Can build variables access other build variables?

When I define a custom variable in the new TFS 2015 team build as follows: Name: SomeOutput Value: $(System.DefaultWorkingDirectory)\Some ...it doesn't seems to expand $(System.DefaultWorkingDirectory). Is there a way around this? EDIT: At least it…
Suchiman
  • 1,636
  • 2
  • 20
  • 30
1
2 3
99 100