Can't create team project in team foundation server using VisualStudio 2013 - visual-studio-2013

I try to create team project in team foundation server using VisualStudio 2013.
The problem that I can't see the New Team Project option in menu.
or:
Any idea why I cant see it?

Well, it's easy. The reason is you are offline from TFS. You can see there is a "local" behind your project playground.
You just need to connect to TFS first.(click connect to Team Projects→select a server→check projects→connect) Then everything is ok.

Related

How do I add a project to a team project?

Some time ago I went to Azure DevOps Services, to create a new Team Project. The name of this Team Project is “Small Apps”.
When I created Small Apps, I created it using Git and Scrum, but didn't add any project a part of the Small Apps team project. Today I had an idea that I wanted to test out. So, I fired up VS 2017 and tried to connect to Small Apps in my Azure DevOps. Nothing doing. Couldn’t find it from VS 2017. I could find other team projects I’ve created in Azure DevOps (formerly VSTS) using either TFVC or Git, but I couldn’t find Small Apps.
Why is that?
Where in Visual Studio are you looking for your project? If you created a project but the repo hasn't been created (or cloned in Visual Studio) yet, you won't find it in Visual Studio.
Please (create and) clone the Git repo first, then you will find it on your machine.

Not Working: Add a Project to Team Foundation Server 2012 using Visual Studio 2015

I am trying to add new projects to the Team Foundation Server and every way I have tried to add them has failed. We are running TFS 2012 Version: 11.0.50727.1 (RTM) and I am running Visual Studio 2015. I am a member of the Administrators Group.
I have tried at least 3 ways that MS support says how to do it on the website and none of them have worked:
I have tried to add it through Visual Studio
I have tried to add it through the Team Foundation Server Administration Console on the Server.
I have tried to add it through the TFS Web Management Portal.
When I try to add it through Visual Studio, I get an error when trying to check it in. It shows on the Source Control Explorer with a pending change of 'Add'. Here is a screenshot of the team explorer and output:
Since the message tells me to add it to the server, I opened the TFS Server Admin Console and When I go into the Team Projects Tab under Team Project Collections, it lists the existing projects, however, there is no way to add a new project. Here is a screenshot of the Admin Console:
There is only a help icon with a link on How to add a Team Project, although like with most MS help articles, it is useless. It provides information about how to do it on the web. So I tried it. I accessed the web portal for our TFS server and there isn't any option to add a project there either. When I go in to the "View the collection administration page" It tells me "Not all Collection level administration is exposed in the web experience. For all administration operations at the collection level please use the Administration Console on your Team Foundation Server.". Here is a screenshot of the online portal:
Can someone please help me with this issue? How can I add the projects to the Team Foundation Server?
I figured out how to Add the projects to the Team Foundation Server using Visual Studio 2015. It is very simple and can be done right from the File Menu in Visual Studio.
First open Visual Studio 2015. (I am not sure if it works the same in other versions.)
Go to File -> New -> Team Project...
The New Team Project Wizard will popup where you can then enter the project name and project description.
Then you can choose the template type and whether you will be using TFS Version Control or Git Distributed Version Control.
Once you click Finish, the Project will be added to TFS.
You can then add the files to the workspace folder on your dev machine.
Then you can check the files into TFS using the Team Explorer. *Note: First, you may need to add the files to the project by going to the Solution Control Explorer and right clicking on the newly created project and selecting Add Items to Folder. From there you can add the files then check them in using the Team Explorer.
Please clarify you want to create a code project/solution and add it to a TeamProject, or you want to create a TeamProject. TeamProject and code project/solution are different.
If you want to create a new TeamProject, according to Client compatibility, TFS 2012 supports VS 2015 RTM or latest update. Check your VS 2015 edition and re-try to create a TeamProject.
If you want to add a code project/solution to a TeamProject, you'll have to connect a TeamProject first and create a workspace, then perform a check-in: https://www.visualstudio.com/en-us/docs/tfvc/set-up-team-foundation-version-control-your-dev-machine
Last, try to clean the Cache folder on your dev computer. The folder path is: C:\Users\username\AppData\Local\Microsoft\Team Foundation\4.0\Cache.
If none of above works, try on another dev machine to see whether you can reproduce this issue.

Not able to migrate defaultcollection from tfs 2010 to tfs 2012

I am trying to migrate projects from TFS 2010 to TFS 2012. I am following the steps given below:
Detach Team Project Collection
Back up the collection database and restore it in target machine.
Some of the projects are in DefaultCollection project. When I try to attach the collection in Team Foundation server, I do not get the option to restore DefaultCollection. I am not able to connect to this collection from visual studio.
I am not sure what I am doing wrong here. Have I missed any step during the migration? Any help would be greatly appreciated.
Have you configured the Application Tier on the target server using Team Foundation Server Administration Console?
If that install/configuration left you with an empty DefaultCollection already there, you need to either delete that or rename your original collection to avoid naming collision.

Checking migrated solution into new version of TFS

I have recently migrated a number of apps created in Visual Studio versions 2005, 2008, and 2010 to VS2013. When I tried to check them into our TFS install, I was greeted with a message telling me that I needed to use a newer version (of TFS).
I contacted our server admin and got a share set up on a new version of tfs.
How the heck do I go about adding to the new TFS share? It is showing on the server (with the plus signs), but when I try to check-in the code, it complains at me telling me to first create a Team Project.
Do I need to create a blank Team project then copy all of my files in, or is there a shorter way?
Thanks in advance.
If you have an existing TFS server then you should upgrade it rate than copy stuff to a new server. It sounds like your existing server is TFS 2008 so you would need to upgrade to 2012 and then to 2013. No big deal, just a little more rigmarole.
If you are set on just pushing your code to a new server I would instead recommend that you create an account with Visual Studio Online (http://tfs.visualstudio.com) and use that.
If you are just going to shove it in the new TFS 2013 server that your infrastructure guy knocked together then you will need to create a Team Project first.
https://msdn.microsoft.com/en-us/library/ms181477.aspx

Team System - Create a Sharepoint Project Portal for an existing team project

I have an existing Team Project in Team System 2010 which, when I originally created it, I opted not to create a Sharepoint Project Portal website. I now would like a Sharepoint Project Portal website for the Team Project.
How do I do this?
In Visual Studio, I have tried Team->Team Project Settings->Portal Settings... and checking '"Enable team project portal" but I get the error:
TF229003: No response was received from following SharePoint site:
htttp:/. Verify that it is operational, or specify another
site
It seems that the TFS PowerTools have a command-line utility tfpt which lets you add a Project Portal for an existing Team Project.
tfpt addprojectportal
A blog post with a bit more info: http://www.doodle.co.uk/Blogs.aspx/2010/06/15/Rebuilding-TFS-Portals
Edit: another post with examples: http://ivanfioravanti.wordpress.com/2010/07/01/create-project-portal-and-reports-for-an-existing-team-project-on-tfs-2010/
Install TFS PowerTools and in command line you can create the portal.
you have to close visual studio first.
here is the msdn link: http://msdn.microsoft.com/en-us/library/ms242865.aspx

Resources