How to Setup TFS(Team Foundation Server) and Visual Studio 2017 - tfs

Firstly,I was used TFS(Team Foundation Server) and Visual Studio 2015 in my previous project.In this project,My leader setup the TFS and I just used it and it is very nice to use.
Now i am developing new project with Visual Studio 2017 and I want to use TFS.I was googled but not clear for me.So Please Let me known,where can i see clear step by step setup guide of TFS with Visual Studio 2017.

Visual Studio includes all the client pieces for TFS in the default install.
So all you need to do is go to the Team menu to connect to the TFS server. The URL will depend on the configuration of the server: get this from the Admin. (For VSTS it will be your-account.visualstudio.com.)
There is a new user's guide which should help with the details.

So you want to add the new solution which is created in VS 2017 into TFS. Please follow the steps below:
Connect to your team project in VS 2017.
Add your solution to source control. Refer to Add a existing app.
Check your new project into TFS.

Hi you just go to the team Explorer and using the admin rights link add the TFS that u want to use.
And from source control you can get the files of the project.
Hope this will work #Jze

Related

"No repositories available" in Visual Studio 2017 when connecting to TFS

When I try to connect to TFS 2015 from within Visual Studio 2017, I get the message "No repositories available". The tfs server is listed, but I cannot connect.
No problems in Visual Studio 2015.
Do you have an idea, what I could do?
Thank you
This is a new UI design changed by Visual Studio 2017.
In Visual Studio 2017, we changed the behavior of the Connect page. We
now populate the Connect Page list with only the items you’ve
selected.
If you select a project and click "Connect", you will see only the project node in the Connect page. To get your repositories to appear
on the Connect page you need to select the repository node in the
Connect dialog and hit Connect.
This change was made in response to feedback from folks who had large
numbers of repositories in their team projects and wanted to not have
them all added whenever they connected to anything in said project.
More details please refer the visual studio team's comment in this similar question: Team Explorer does not show the repositories within a multi repository project
I had similar issue ,for me TFS is using Kerberos authentication. I changed the authentication to NTLM by running command from Developer tools under TFS server.
TFSConfig Authentication [/provider:NTLM|Negotiate] [/viewAll] [/siteType:ApplicationTier|Proxy]
Reference - https://learn.microsoft.com/en-us/azure/devops/server/command-line/tfsconfig-cmd?view=azure-devops#authentication
We also did IISRESET after this.
After this i am able to view the Repos under visual studio.

Are workspace templates as implemented in Powertools for TFS 2013 still available in TFS 2017?

In respect to the following question Is there a way to easily share Workspace settings (folder mappings) for Visual Studio Online / Team Foundation Server? and an entry I found regarding to this topic https://social.msdn.microsoft.com/Forums/vstudio/en-US/c9b16b30-4534-4781-a2e8-fb413a2df0af/power-tools-for-tfs-2017-with-vs-2017-rc?forum=tfsgeneral I wanted to ask if anyone knows how to achieve this very much needed functionality in TFS 2017?
Thanks.
Unfortunately we cannot create the workspace templates with VS 2017 for now.
According to release notes it says most of the previous Power Tools have been integrated into TFS 2017 that means no separate power tools for TFS 2017.
But the Team Utilities feature component is not integrated, that means these haven't shipped for Visual Studio 2017.
I have submitted a user voice here for you to suggest this feature, you can go and vote it up to achieve it in future.
Another similar thread for your reference: Team Members Team Utilities section in VS 2017

Change Default options for TFS 2017 New Team Project in Web portal?

Is it possible to change the settingd for TFS 2017 to only have Team foundation Server version control available (disable git) and only have CMMI available for the work item process? I am using the web interface.
You can delete the process templates from within Visual Studio.
You can't disable Git support, but you can easily create a new TFVC repository in an existing team project if someone chooses incorrectly.
Unfortunately, it's not able to customize the Create team project process. You could not directly disable the options both for Process template and Version Control.
You could create a uservoice, TFS PM will kindly review your suggestion.

Create new project option not showing in TFS Web Access

We recently moved our on-premise TFS server to a new server and we are able to access our projects on the new server.
However, I am unable to see the option to add a new project, only to browse to existing projects:
I have checked my permissions and my permissions include:
Team Foundation Administrator
Project Collection Administrator
This should give me enough rights to add a new project. I'm sure I am missing something, but I cannot see what it is.
In Visual Studio Team Services (formerly Visual Studio Online) you can create your projects from the web interface.
But in TFS you need to fire up a matching version of Visual Studio (in your case 2013), and create new projects from the Team Explorer window.
From Team Foundation Server 2015 update 2 onwards you'll be able to create team projects using the web interface. With all older versions of TFS you need to follow these steps.

TF30172: You don't have permission

I have a tfs server installed, and it allow me to connect, but when try to create a team project, it shows this message.
TF30172: You do not have permission to create a new team project.
All my permission are currently set, or at at least I think so.
What else can I check?
This is a know issue with Visual Studio 2010 and Team Foundation Server 2012.
From Buck Hodges' blog:
You must use the Visual Studio Team Explorer 2012 (included in all Visual Studio editions or may be separately downloaded) to create a team project on a TFS 2012 server. If you use VS 2010, you will get an error about not having permission. The error message is very misleading, because it’s not a problem with your permissions.
You should to install this hotfix to resolve this issue.
You Should have the right in Team Project Collection administrator . you have to add yourself in this group.
and after that may be it is also required to add yourself in Contributor group.
kindly check that you have give the rights in Team Project Collection Setting .
not in Team Project Setting.
Having tried a plethora of solutions including many reinstalls, service pack reapplication, hotfixes and the two answers provided by Mak and DaveShaw.
The workaround I used was to create the new team project using Visual Studio 2013. Once I did that I was able to add my solutions to source control. I guess VS 2012 could be used too.

Resources