Add a project in TFS - visual-studio-2010

I have Visual Studio Ultimate edition and need to add a project in TFS.
I want to make my local desktop as the TFS server.
My desktop specs:
Windows 7
Visual Studio 2010 Utlimate
I have no idea how to go about it and add a new project in TFS. I read a lot of blogs but didn't find any that lists something from scratch.
As in when I try to create a Team project in TFS, i get the server section as empty. How to configure my local desktop to act as a TFS server??

First things first, read this: http://msdn.microsoft.com/en-us/library/dd997788.aspx (Compatibility between Team Foundation clients and Team Foundation Server)
Second, you need to decide which version of TFS you are planning to run. Is your company paying for a version of it or are you planning on using the express edition available (2013)?
If your answer to that is TFS Express 2013, then I suggest you navigate to this link and download the installer. Run it and follow the instructions.
If you are planning a full licensed installation, you should familiarize yourself with the various components that come with it (Report server, Sharepoint, etc).
Here is a link to install and administration: http://www.microsoft.com/en-us/download/details.aspx?id=29035

Follow the following steps:
1.
If you haven't already, connect to your Visual Studio Online account and create your workspace folder.
2.Move the code you want to upload to the workspace folder.
3.Open your solution in Visual Studio.

Related

How to configure local existing TFS server in Visual Studio 2017 Mac?

I am working on Xamarin with Visual Studio 2017. My organization has its own domain base TFS server, Now I need to configure that server to my Visual Studio 2017 Mac version projects.
I found the Visual Studio code is capable to connect the TFS, but it's connecting the Visualstudio.com server, I need to connect to the server which is my organization.
For visual studio Mac, TFS isn't supported for now. There has been a uservocie, you can vote up and monitor it.
TFS Version Control
https://visualstudio.uservoice.com/forums/563332-visual-studio-for-mac/suggestions/17136163-tfs-version-control
However as a workaround, you could use Visual Studio Code to connect on-premise
TFS server.
TFVC
You can connect to TFVC using the Visual Studio Team Services extension since version 1.116.0 (2017/04/12). This extension allows you to connect to Team Services and Team Foundation Server.
Note: You need Team Foundation Server 2015 Update 2 or later.
More details please take a look at my reply at this question: Connect VS code with TFS on mac
Here is an alternate way of doing the same.It is working fine for me
How to use TFS on a Mac
Steps to be followed:
Step 1: Install Eclipse
Step 2: Download and install the TFS everywhere plugin
Step 3: Checkout your solution using the eclipse to a local folder
Step 4: Open the solution in Visual studio and make the code changes
Step 5: Open eclipse and commit your changes.

Can Visual Studio Online synchronize with TFS on a given project

We have a project source-controlled by local TFS installation (both are 2013 version).
The scenario that we want to accomplish is:
Developers located in the company use the local TFS as usual.
When they finish they check-in the code to the local TFs and Visual Studio Online.
Developers working from outside the company, get latest from the Visual studio Online.
When they finish, they check-in the changes back to Visual Studio Online.
The target is to have local and online code repositories that can be synchronized either manually or automatically. Is this possible using Visual Studio Online? If not, are there any workaround to achieve this scenario?
You can synchronise the work using the TFS Integration Tools. They are complicated to setup and will be painfull to run. There are commercial options that are ridiculously expensive, like OpsHub, and I would suggest you just pick a server.
Either have your local server with remote users on VPN, or have a VSO server that everyone accesses. I would recommend VSO with local Build servers.
You can check here. How to access VS 2010 TFS over the internet from remote office
It is about vs2010 but i guess the second answer is for you.

Minimum CI slave requirements to build MVC TFS solution

What are the minimum requirements for pulling and building a TFS hosted Visual Studio 2012 MVC solution on a clean Windows 2012 Server VM?
I'm setting up a continuous integration slave and I want to install as few tools as possible to get set of projects out of Team Foundation Server source control and building.
My working assumption is that I'll need Team Explorer to get the files from the TFS server, and Visual Studio Express 2012 (Web) to actually build the solution.
The CI slave will NOT use Team Foundation Build, rather it will be part of a Jenkins grid. I know they have a plugin for TFS, but I don't know if it can be used in lieu of Team Explorer.
Running of unit tests will follow but the framework to be used has not be decided yet.
The solution has existing NuGet package dependencies and those are not checked in.
Team Explorer Everywhere
Microsoft Windows SDK for Windows 7 and .NET Framework 4

Accessing Files in Team Foundation Server Version Control Without Visual Studio

How can I access files held in TFS source control without installation of Visual Studio?
You can check out the Team Explorer Everywhere as an alternative way to get at your Team Foundation source code.
The actual source code is stored in a SQL Server database that the Team Foundation Server installs.
On Windows, the Team Explorer installation (included with the TFS install) will install enough of Visual Studio to access TFS. It also installs the command line tool (tf.exe) which can be used to perform most operations without needing to start Visual Studio.
Installing the TFS PowerToys will optionally add a PowerSehll module that includes cmdlets for most version control operations, and integrates nicely into PowerShell.
On other OSs look at Team Explorer Everywhere (as marc_s has already answered).

Can you install a standalone TFS client that doesn't need Visual Studio?

Is it possible to get a standalone TFS client on a server that does NOT have Visual Studio installed? We'd like a way to "reach into" a TFS project from a server, without having to install Visual Studio?
Possible? I've seen Team Explorer, but will that work without Visual Studio?
Team Explorer 2008 will allow you to connect to TFS, but it will install a Visual Studio shell.
Team Explorer Everywhere has Web access. Martin Woodward wrote a great article about it.
Download the TFS power tools. The "Windows Shell Extension" component allows one to perform most operations with TFS via Windows Explorer. Note that the Power Tools installer states that Visual Studio 2010 (or Visual Studio Team Explorer 2010) is a prerequisite for the following features:
Command-line interface
Visual Studio Integration
Check-in Policy Pack
Process Editor
Windows Shell Extension
PowerShell Cmdlets
It's 2017 and Microsoft (re)introduced the standalone Team Explorer.
https://blogs.msdn.microsoft.com/visualstudioalm/2017/04/05/reintroducing-the-team-explorer-standalone-installer/
If you remember back to 2013 (and before), we released standalone installers for Team Explorer. In VS 2015, we did not release a standalone Team Explorer since customers had free options with Express SKUs and Community, which included Team Explorer functionality.
Customers have continued to request a standalone installer for Team Explorer for non-developers, however. And so today, with the Visual Studio 2017 Update release, the standalone Team Explorer installer is back.
Download - https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=TeamExplorer&rel=15
Included with Team Foundation Server there is a free web front end called "TFS Web Access". In TFS 2008, the Web Access was a different installation and it came as a Power Tool to the TFS. In TFS 2010, the Web Access is installed automatically and is part of the TFS.
In order to get to the Web Access in TFS 2010 do the following:
In your preferred browser type:
http://[YourServerName]:8080/tfs/web/
YourServerName is the tfs name for example: http://tfs-srv:8080/tfs/web/
Also, if you need Agile planning and a Task Board with TFS Web Access, take a look at Urban Turtle - http://urbanturtle.com. According to Microsoft, this is the premier Scrum tooling for TFS.
Discloser: I work with the Urban Turtle team. So do not take my words. Instead, read what Microsoft blogs said about Urban Turtle.
http://blogs.msdn.com/search/SearchResults.aspx?q=urban%20turtle&sections=3652.
There now seems to be a more generic Team Explorer Everywhere for TFS - perhaps that will give us non-VS users desktop access to TFS :)
It includes an Eclipse plug-in and usefully, a command line client.
While it appears to be a dead project. If you like having version control outside an IDE (or independant of the IDE). There is SVN Bridge, which allows you to use TortoiseSVN to talk to your TFS server.
https://svnbridge.codeplex.com/
You can install Team Explorer (on the TFS install DVD, or you can download it from MSDN) without needing to have VS2010 installed - Team Explorer will install a 'shell' VS2010 with only the TFS features available - none of the IDE components.
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=fe4f9904-0480-4c9d-a264-02fedd78ab38

Resources