Minimum CI slave requirements to build MVC TFS solution - visual-studio

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

Related

Updating Visual Studio and TFS from 2013 to 2015

We have several .NET solutions (desktop apps and an MVC website) we've been working on. The projects were all built in VS2013 and are hosted on a TFS 2013 server. We would like to update to VS2015...but I'm a little wary about it. If we update to VS2015, do we also need to update to TFS 2015? Or is it smarter to run VS2015 alongside VS2013? If we do the latter option, would be still need to update TFS to 2015?
You can quite happily use VS 2015 and TFS 2013 together.
In the olden times (TFS 2010 or earlier) you might have wanted to keep the old version of VS around to manage the TFS server but these days most functions are available from the TFS web UI.
The only thing you would need to be careful with is if you are using TFS Build for your CI server. If this is the case you will need to update the version of VS installed on your build agents.
You don't need to update to TFS2015. You can still use VS2015 with TFS2013.
But if you want to build for C#6/.Net 4.6 applications, you need to pay attention to your build enviroment. Such as install MSbuild Tools 14.0, amend the build templates to point to MS Build version 14.0. For detail you can reference: TFS 2013 building .NET 4.6 / C# 6.0

TF225001: Creating a build definition requires a build controller be defined for this team project collection

I have installed TFS 2013 Express edition. I also want to activate the Continuous integration option, but when I click New Build Definition, I see the error below:
TF225001: Creating a build definition requires a build controller be defined for this team project collection.There may not be any controllers configured or you may not have the permissions to view them. Contract your Team Foundation Server administrator.
My Visual Studio is 2013 Community Edition and my Team Foundation Server is 2013 express edition.
You need to install and configure a TFS Build Controller. Normally you would do this from the TFS Install, not sure if TFS Community includes the ability to be used as a build server also though.

Add a project in TFS

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.

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

How can I add a VS 2010 .Net 4.0 build agent to TFS 2008

My company has two development teams using TFS 2008. My team would like to migrate our .Net 3.5 app to the .Net 4.0 framework, but the company is not ready to upgrade TFS to TFS 2010.
Can we still use TFS 2008's team build system but with a Visual Studio 2010 solution/project structure that targets the .Net 4.0 framework?
I am thinking we would need to add a new build agent to TFS 2008 that would have VS 2010 installed. But I am not finding any information on how to do this.
Is this possible? Are there any articles explaining how to do this?
Google and Bing haven't found this nugget yet, but William Bartholomew at Microsoft has explained how to do this.
http://blogs.msdn.com/willbar/archive/2009/11/01/building-net-4-0-applications-using-team-build-2008.aspx
Actually, it is not possible to use a TFS2010 build agent with a TFS2008 server. (what you asked for)
You can however, use the TFS2008 build agent to build .Net 4.0 / VS2010 solutions (this what the accepted answer is linking to). This gets the job done, but you don't get the improved build engine (workflow) and reporting of 2010, but you can't use that anyway with your 2008 server!
This really is the only way to go until you can migrate to a TFS2010 server.

Resources