I have been having a bit of trouble getting Build on TFS 2013 to work when using Visual Studio 2015 for the checking in of files. The solution/project that I am working on w
Many other community members have the similar issue, the /p:VisualStudioVersion=14.0 argument doesn't work. You can follow below steps and retry it.
1.Customize the tfs build process template to set ToolPath of the Run MSBuild for Project to target to MSBuild14; and set ToolVersion to "14.0".
2.Check in this build process template and re-queue the build
For detail and screenshot you can reference this link : BuildActivity ignores ToolsVersion