Configure Visual Studio 2013 to use TFS and not GIT - tfs

I have been using TFS quite happily the last few months, and all of a sudden my project is now using GIT.
I think it was after I installed the Eclips TFS plugin for android development.
How can I change it back to use TFS as my source control.
When I click on Team Explorer now it is git.

IIRC see Tools / Options / Version control and select the default version control plugin.

Related

How to determine which Visual studio version used during TFS checkin

I am using TFS server 2015. I have different types of the project using different version of Visual studio: 2012/2015/2017/2019. From TFS how I can determine which version is used during check-in into TFS.
at the same time, I also want to know which MS Build version is using for TFS Build.
If you go to the diagnostics panel (needs admin rights), you can see the commands TFS/Azure DevOps Server receives and the user agent passed in:
You can find it under either
https://server/_oi
https://server/tfs/_oi
The user agent contains the version of the TFS Client Object Model, which matches the Visual Studio version when people are doing TFS related work.
Usage of the MSSCCI provider will show up with a different Object Model Version the the Visual Studio version. As these will log the version of Team Explorer which is launched.
There is no way to detect the MsBuild version from the server logs, but the csproj file will have an indication of the .NET framework version and the MsBuild version used. It should be possible to parse out this information straight from source control.
The ToolsVersion attribute should provide a nice hint.
The ToolsVersion attribute is also used for project migration. For example, if you open a Visual Studio 2008 project in Visual Studio 2010, the project file is updated to include ToolsVersion="4.0". If you then try to open that project in Visual Studio 2008, it doesn't recognize the upgraded ToolsVersion and therefore builds the project as though the attribute was still set to 3.5.
Visual Studio 2010 and Visual Studio 2012 use a ToolsVersion of 4.0. Visual Studio 2013 uses a ToolsVersion of 12.0. Visual Studio 2015 uses ToolsVersion 14.0, and Visual Studio 2017 uses ToolsVersion 15.0.
A second VisualStudioVersion may also be present:
Sub-toolsets become active in the presence of the VisualStudioVersion
build property. This property may take one of these values:
"10.0" specifies the .NET Framework 4 sub-toolset
"11.0" specifies the .NET Framework 4.5 sub-toolset
"12.0" specifies the .NET Framework 4.5.1 sub-toolset
Sub-toolsets 10.0 and 11.0 should be used with ToolsVersion 4.0. In
later versions, the sub-toolset version and the ToolsVersion should
match.

Switch from MSSCCI Provider to TFS

I have a solution which connects to TFS using MSSCCI Provider.
How can I switch to using it with TFS and cut MSSCCI as the middle man?
When I select TFS in Tools --> options --> Source Control --> Current source control, Im getting a message that the active solution will be closed. When I open it again, the solution is still controlled by MSSCCI, ignoring my selection.
Any advice will be welocomed.
In general the MSSCCI Provider is for previous version of Visual Studio, it's not supported any more in Visual Studio 2017 without having Team Explorer 2013 installed. See Connect any version of Visual Studio to Visual Studio Team Services or Team Foundation Server for details.
So if you are using VS 2017, then you can uninstall the MSSCCI Provider and Team Explorer 2013. Then just make sure the Team Explorer 2017 is installed with the VS2017 (You can install the standalone Team Explorer installer if not installed before. ). Then you can connect to TFS/VSTS with the Team Explorer directly.
Besides, this article for your reference, it may helps:Switching between multiple Msscci providers
I managed to fix my issue in the following manner:
Remove MSSCCI:Team Foundation Server MSSCCI Provider from each project file.
Remove the GlobalSection(TeamFoundationVersionControl) = preSolution section from the sln file.
Open VS2017 and select TFS in Tools --> options --> Source Control --> Current source control.
Bind all projects in File --> Source Control --> Advanced --> Change Source Control.

How to set VS 2008 version option for TFS 2017 build definition

I am new to TFS and am trying to build an VB project created with Visual Studio 2008 using Team Foundation Server 2017 Build feature.
As you can see on the image below, I need to set the Visual Studio version on the Build Solution task and there is no dropdown option for Visual Studio 2008.
Is there anyway I can select VS 2008 to build this project?
Or is it possible to do this?
I will appreciate of any help I can get.
Based on the information provided from Microsoft at TFS Server Requirements, and specifically looking into the Client Compatibility / Visual Studio 2008 falls under the MSSCCI support category:
MSSCCI support
Visual Studio/Team Explorer 2008 and Visual Studio 2005 are no longer officially supported. To connect to the server, these clients must interface through the MSSCCI provider instead. MSSCCI support only includes support for source control integration and MSSCCI commands. The goal is simply to allow developers to continue working with legacy applications in an upgraded server.
I believe that, if you have to stick with Visual Studio 2008, you could use MSBuild step instead, and specify the proper location of the MSBuild 3.5, and verify if this would work for you:

TFS options in Windows Explorer

How do I get the TFS options to appear in Windows Explorer?
I have the Power Tools installed and for a few of my projects I do have the TFS options available in Windows Explorer.
I have recently created a couple of new branches from my Main project, but these new branches do not have the TFS options when "Right Clicking" the folder from within Windows Explorer.
I have tried reinstalling Power Tools, but this has not fixed my issue.
Does anyone know how I can get the TFS options to appear for my new projects in Windows Explorer?
If it makes a difference to the answer: I am using VS2008 with Power Tools 2010.
I cannot use a newer version of VS.
If you are using Team Foundation Server Power Tools December 2011 in your environment. You could try this solution: Uninstalled the old TFS Power Tools ( listed with a "Microsoft Team Foundation Server" prefix and/or "Microsoft Visual Studio Team Foundation Server" in Control-Panel/Programs-and-Features ) and install a newer version. Such as:
Team Foundation Server 2012 RTM Power Tools.msi
You could also try to execute this file:
C:\Program Files (x86)\Microsoft Team Foundation Server 201X Power
Tools\TfsComProviderSvr.exe
More detail ways please refer this similar question: Shell Extension : Not showing in Windows Explorer context

VS2010 does not display "Team" in Menu

I am using 2012 for connecting to TFS, but one of my project is in VS2010, when i install the TFS for 2010 version then error message is display "Already installed updated version".
Could any one help me please me on this? How can i connect TFS with VS2010 version?
Your wording is a little confusing, I'm assuming you are saying you want to connect to TFS 2012 using VS 2010.
If so you need to install 2 things on your VS machine:
VS 2010 SP1
TFS Compatibility GDR
Then you should be able to choose Connect to TFS (can't remember if that is in the Team or Tools menu).

Resources