Build failed for TFS 2013 from Visual Studio 2010 - visual-studio-2010

I am trying to create a build from VS 2010 for TFS 2013. I am getting the following error message:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.SqlTasks.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Do I have to install VS 2010 on the TFS server?

Yes you should install VS 2010 on the build server. It can live side-by-side with other versions (so you could have VS 2010 + VS 2012 + VS 2013 all installed on your build server if you wished).

Related

Visual Studio 2019 won't compile any C# project after Visual Studio 2017 uninstall

I uninstalled Visual Studio 2017, then installed Visual Studio 2019.
Visual Studio 2019 doesn't compile any C# project, even if I make a completely new one, with this error:
The specified task executable location "c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Roslyn\csc.exe" is invalid.
I can't find where this path is stored. How can I fix it?

CodedUI Build issue with TFS 2015

When I try to use the TFS 2015 Build process to deploy the Test Agent, I am receiving the following error:
‘The running command stopped because the preference variable
“ErrorActionPreference” or common parameter is set to Stop: Cannot
find path ‘C:\Program Files (x86)\Microsoft Visual Studio
14.0\Common7\Ide\DTAExecutionHost.exe.config’ because it does not exist.’
I have Visual Studio Professional 2015 Edition installed on D drive and using TFS 2015 Test agent is getting installed on C drive.
As VS2015 Professional is installed on D driver so “DTAExecutionHost.exe.config” exists in D driver.
Is there any means by which we can configure Test Agent on D driver using TFS 2015 as I cannot uninstall VS2015 Professional on server.
There is no such setting to configure Test Agent on D Driver in step Visual Studio Test Agent Deployment.

Visual Studio 12.0: missing library "msvcmrt"

I'm trying to use Visual Studio 2015 to compile a VC++ project that, however, targets the Visual Studio 2013 build tools.
I noticed that the Visual Studio 2013 (12.0) tools and libs seem to have been installed alongside VS2015, as I see the C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib directory, with all the libs. Seems fine.
But... it's not. Two lib files are be missing: msvcmrt.lib and msvcmrtd.lib, and without these I cannot compile the project.
My question is: how do I acquire these? Do I have to install VS 2013 from scratch? Or is there a more convenient package available to install? Or is my VS2015 installation damaged, and the files should have been there?
I had a similar issue and I solved it by simply copying msvcmrt*.lib from a machine with vs2013 installed.
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib
There'll be 6 files to copy (x86/arm/x64) * (debug/release)

Where is Microsoft.TeamFoundation.Build.Client 12.0.30723.0

I'm using VS 2013 Premium Update 4, with TFS 2013 Update 3.
i'm trying to locate the Microsoft.TeamFoundation.Build.Client that is version 12.0.30723 that matches TFS 2013 update 3, but no where can i find it.
i've looked on my machine at
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer
but that dll isn't even listed.
i'm also looking for :
Microsoft.TeamFoundation.Build.Common.dll
Microsoft.TeamFoundation.Build.Workflow.dll
Microsoft.TeamFoundation.Client.dll
Microsoft.TeamFoundation.Common.dll
but nothing
when i dig around for them on the tfs server i don't find them either..
i do find: (i found those also on dev machine):
Microsoft.TeamFoundation.Build.Controls.dll
Microsoft.TeamFoundation.Controls.dll
etc...
but not what i'm looking for.
Firstly, you need to install Visual Studio 2013 to have these assemblies. And all these assemblies you listed above can be found in the path:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ReferenceAssemblies\v2.0
Additionally, 12.0.30723 is version for TFS2013 with Update 3. For VS 2013 Premium Update 4, the version is 12.0.21005.1. And you can use 12.0.21005.1 version dll to connect to TFS2013 with Update 3.

Where is the Visual Studio 2008 Installation Log

I have an installation of Visual Studio 2008 that is failing. Where is the installation log that is generated and what is it's name?
In your %temp% folder.
Logs produced by the Visual Studio
2008 setup wrapper:
%temp%\dd_install*.txt
%temp%\dd_error*.txt
%temp%\dd_depcheck*.txt
VSMsiLog*.txt - located in your %temp%
directory during Visual Studio 2008
setup; moved to
%ProgramFiles%\Microsoft Visual Studio
9.0\\Logs after a successful installation; left in
%temp% after a failed installation and
after uninstallation

Resources