Missing Nuget service end point in TFS 2017.1 - tfs-2017

When I am trying to create a Nuget Service endpoint which should be used in Build Definition, I am not getting the Nuget option in the list.
TFS Version: 2017 update 1 On-Prem
License: Enterprise and its made default
URL: http://mytfs:8080/tfs/collection/project/_admin/_services?_a=resources
When I try in VSTS project I get it in the drop down but it's not listed in TFS on Prem. Please help me if I am missing anything here or do I need to perform/configure my on-prem environment with anything to make Nuget option list under Service endpoint list.
Please let me know for more details and appreciate any help on this.

Unfortunately for on-premise TFS the Nuget service endpoint was added after TFS 2017 Update 3, it's available starting from TFS 2018.
So, you cannot see the Nuget service endpoint in TFS 2017 Update1, if you insist on using it, then you can upgrade to TFS 2018 or migrate to VSTS.

As it is not added before 2017 Update 3, you can use a Generic Connection. Server URL is the nuget url, and the api key is the Password/Token Key.
If your company would not like to update TFS you can use it.

Related

Is there any automated way to create a collection and project in TFS 2018

I am curious to know is there any way to create a collection and project in TFS 2018 in an automated way.
Similar to how we can do in Bitbucket, using the API.
I tried most of the option provided in the internet. But no use.
I am using Visual Studio 2017 and TFS 2018.
Thanks
Unfortunately, there is no automated way to create a team project collection, you have to Create Team Project Collection in TFS Administration Console. But you can use the TFSConfig Collection command to attach, detach, delete, or clone a team project collection. See Collection command [TFSConfig].
For team projects, you can create team projects from the command line or scripts using the VSTS CLI. VSTS CLI works with VSTS and Team Foundation Server 2017 Update 2 and later. You could install VSTS CLI, read the get started article to begin using it, and refer to the vsts project command.

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.

Can't create team project in team foundation server using VisualStudio 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.

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

Get Latest Source Code in TFS without Visual Studio

Uses: Visual Studio 2013; TFS Express 2012;
For an Audit and BCP Requirement, Another member of an IT staff needs to get a copy of the latest version of the Source code in TFS for back-up purpose.
This authorized member of the IT Staff needs not be a developer and should not be able to change or compile the code, but his sole privilege will be to download the latest version of the Source Code from TFS without any version of Visual Studio.
How can this be achieved?
In TFS 2012 and 2013 you can give them access to the web only and have them download a read only Zip...
You can choose the Team Foundation client to support your tasks:
http://msdn.microsoft.com/en-us/library/ms181304.aspx
In your case, you can use the "Team Web Access for TFS". Team Web Access provides you read-only access to Team Foundation Version Control. You can view files and even download the latest versions of them. You can also compare two files, view version history, as well as view annotation information about a file, showing who made what changes in the file. You also have the ability to find and view Shelveset information. You cannot, however, check information into or out of Team Foundation Version Control.
Info taken from here:
http://visualstudiomagazine.com/articles/2011/04/25/wctfs_team-web-access.aspx

Resources