I got stuck in connecting TFS in visual studio 2017 mac. Can anyone help me on this?
First, check the requirements of connecting to Team Foundation version control from VS for Mac, to see whether your environment meets the requirements:
Visual Studio Community, Professional, or Enterprise for Mac version
7.5 or later.
Visual Studio Team Services, or Team Foundation Server 2013 and later.
A Project in Visual Studio Team Services or Team Foundation Server, configured to use Team Foundation Version Control.
Then follow the steps below to install the extension and connect to VSTS/TFS:
In Visual Studio for Mac, choose Visual Studio > Extensions... from the menu. In the Gallery tab, select Version Control > Team Foundation Version Control for TFS and VSTS and click Install…:
Updates to the TFVC extension are made periodically. To access updates, choose Visual Studio > Extensions... from the menu and select the Updates tab. Select the extension in the list and press the Update button:
Once the extension is installed, select the Version Control > TFS/VSTS > Open from Remote Repository menu item.
Choose either Visual Studio Team Services or Team Foundation Server to get started and press Continue:
Enter the TFS server information or VSTS credential, and select a project.
More details you can refer to the link below:
https://learn.microsoft.com/en-us/visualstudio/mac/tf-version-control
If using TFS 2017, it has the option of using git for repositories and Visual Studio 2017 for Mac as of v7.8.3 (build2) doesn't support git in TFS yet.
Related
I'm using TFS Express 2015 and Visual Studio Community 2019. When I try to add solution to source control, I'm getting an error message:
"TF206018: The items could not be added to source control because either no team projects have been set up...".
There's no option of adding team project either in Team Explorer in Visual Studio or in TFS Express Admin Console!?
Is it even possible to work with TFS Express on local machine with VS Community?
It seems it's an existing issue that there is no "New Team Project" option in VS 2019 connecting TFS 2015. Check the following case:
There is no menu to create "new team project" on visual studio 2019
This issue has been reported in the following ticket, please vote and add your comments for this feedback track this issue: https://developercommunity.visualstudio.com/content/problem/690875/cannot-create-a-new-team-project-from-within-the-t.html
Since it's supported to create and delete Team projects from the web experience in TFS 2015.2 and later, you need to check your TFS edition to see whether you can create a team project from web protal:
As a workaround, you may need to use other versions of VS or install high version TFS.
Using Mac OS 10.13.6 and Visual Studio for Mac Community v7.5.4
Trying to connect to my company's TFS and access the files. I got stuck when it would not let me create a Workspace. I found this thread:
Connect VS code with TFS on mac
It says to download from https://github.com/Microsoft/team-explorer-everywhere/releases a zip staring with TEE-CLC... which I did. In Terminal, when I try running the command at the 1:20 mark in this video nothing happens. I double click the tf command in my Finder window and a Terminal window opens showing "Saving session...copying shared history...saving history...[Process completed]". Again, nothing happens.
I think I'm the only person at my company who is trying to use VS for Mac. Any thoughts?? I'm at the end of my rope just about.
The thread you are referring to is for Visual Studio Code. Since you are using Visual Studio for Mac, you should refer to the article below to connect to TFS:
https://learn.microsoft.com/en-us/visualstudio/mac/tf-version-control
First, check the requirements of connecting to Team Foundation version control from VS for Mac, to see whether your environment meets the requirements:
Visual Studio Community, Professional, or Enterprise for Mac version
7.5 or later.
Visual Studio Team Services, or Team Foundation Server 2013 and later.
A Project in Visual Studio Team Services or Team Foundation Server, configured to use Team Foundation Version Control.
Then follow the steps below to install the extension and connect to VSTS/TFS:
In Visual Studio for Mac, choose Visual Studio > Extensions... from the menu. In the Gallery tab, select Version Control > Team Foundation Version Control for TFS and VSTS and click Install…:
Updates to the TFVC extension are made periodically. To access updates, choose Visual Studio > Extensions... from the menu and select the Updates tab. Select the extension in the list and press the Update button:
Once the extension is installed, select the Version Control > TFS/VSTS > Open from Remote Repository menu item.
Choose either Visual Studio Team Services or Team Foundation Server to get started and press Continue:
Enter the TFS server information or VSTS credential, and select a project.
After installing the extension, you can create a workspace from the Workspace combobox in the Open from Source Control dialog:
I am trying to set up Team Foundation Server for my official visual studio projects, and we have set up TFS 2015 - Basic Server setup.
I have been working with Visual Studio 2012 in my development machine and trying to connect to the TFS and add projects to it.
When I go to File -> New Team Project, I got an error saying 'TF0172: You are trying to create a team project either without required permissions or with an older version of Team Explorer. Contact your project administrator to check your permissions or to determine how to upgrade Team Explorer'.
I have admin rights in the TFS server as well as in the development machine so the error machine does not look like it is a permission issue.
So trying to see if VS2012 is compatible with TFS 2015, or is it possible to make both compatible?
I have also updated my Visual Studio 2012 with the update 5.
Creating a team project requires a matching version of Visual Studio. So, to create a team project in TFS 2015, you need Visual Studio (or Team Explorer) 2015.
I'm looking for a way to do administrative tasks such creating new team projects having installed Team Foundation Server 2015 previously without having to install Visual Studio Community 2015. In older versions of TFS, I could use Team Explorer for creating team projects but now which version of Team Explorer can I use to do it on TFS 2015?
The Team Explorer is gone for 2015 "wave": "we are not going to ship a Team Explorer 2015 stand-alone GUI".
To create a new team project you have to use Visual Studio 2015:
"Only the latest version has "full" compatibility with the latest Team Foundation Server, because this will be the only client that contains components that can interface with new features for that release, and will also be the only client from which you can perform certain administrative tasks such as creating new team projects" link
You need at least Team Explorer installed. There's no way around it. The problem is that Microsoft isn't shipping Team Explorer 2015 as a stand-alone package. You can install Community and use that.
Once you have Team Explorer available, you can use the Team Foundation Power Tools to create a Team Project from the command line, though.
If you don't want to install Visual Studio 2015 (8GB across all drives) for Team Explorer only you can follow the workaround explained in that article : http://www.sqlshack.com/wheres-my-team-explorer-2015/ basically by using an older version of Team Explorer and the Excel add-in
I have both Visual Studio 2008 and 2010 connecting to TFS 2008.
In Visual studio 2008 i can see the if some particular person has checked out any file by the option
Find in source control > Status
But when I am trying to see same thing via 2010 I can't find it.
When I try to install the Visual Studio 2010 Power Tools for Team foundation Server (Dec '11), I get the following error message:
TFS Power Tools
Setup detected that a previous version of this product installed for the following users. These per-user ("Just Me") installations must be removed before this version of the Microsoft Team Foundation Server 2008 Power Tools can be installed on the machine ("Everyone").
Close
This option in available through the Visual Studio 2010 Power tools for Team Foundation Server. You can install multiple versions of the Power Tools side-by-side, but you can only have one version of the Windows Explorer extensions installed. I usually opt for the latest version for that feature.
Uninstall the older version of the power tools and then install them (oldest to newest). For each older version deselect the "Windows Explorer Integration" and the "Powershell cmd-lets", I tend to only install the latest version of those.
You can find the older versions here:
2005: Microsoft Visual Studio 2005 Team Foundation Server Power Tools - September 2007 release
2008: Visual Studio Team System 2008 Team Foundation Server Power Tools - October 2008 Release
2010: Team Foundation Server Power Tools December 2011
2012: Microsoft Visual Studio Team Foundation Server 2012 Power Tools
2013: Microsoft Visual Studio Team Foundation Server 2013 Power Tools
When installing make sure you always select to install for "All Users" that way you should be able to install all of these side-by-side as long as the corresponding version of Team Explorer is installed as well.
If you're connecting to TFS 2008, then you only need the TFS Best Practice Analyzer from the 2008 power tools and you should use the Visual Studio 2008 Developer Command Prompt for commands that do Team Project Creation or interact with Sharepoint/ReportServer. This is exactly the same as when you're editing Work Item Definitions using witadmin, you can't edit the 2008 work items definitions with the 2010 version of widadmin.
From experience, the following commands/features are server version specific:
Tfpt addprojectreports
Tfpt addprojectportal
Tfpt createteamproject
Work Item Editor
Best Practice Analyzer
And these should work with any TFS version as long as the corresponding version of Team Explorer supports said TFS version.
Explorer Integration
Check-in policy pack
Source Control Explorer extensions
Team explorer extensions
Work Item templates
Powershell commandlets
Other tfpt commands
A complete overview of the tools that will/will not work depending on your TFS and Visual Studio version can be found on my blog.
You should install the Windows Explorer extensions and Powershell cmd-lets from the highest version of the Power Tools you intend to install. The latest version has seen the most development and will have fewer bugs.
The 2010 tools won't break your TFS 2008 installation.
You may need to open and activate the Source Control Explorer to see this menu command. This is the case in VS 2015.