Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Visual Studio need to be installed on the TFS build server?

We recently moved to Team Foundation Server 2008 from Source Safe. We are setting up some automated builds and have run into some issues with the publish of click once apps that seem to require additional installs on the build server.

I've seen posts that indicate that the Visual Studio IDE needs to be installed. I've also seen posts that say that installing the .Net Framework SDK would fix the issue. We don't want to install more than we need on the build server, but we also don't want to have to make multiple requests to our server team to install different pieces at different times. So, I'd like to know what most teams end up installing.

If it's important, we don't have a dedicated build server at this point. We are a small team (6 devs, all local). Builds are happening on our main TFS box, the SQL Server piece is the only part that is on a separate server.

like image 452
Paul G Avatar asked Apr 22 '09 15:04

Paul G


People also ask

Do we need to install Visual Studio on the build server?

No, you don't need Visual Studio on your build box.

Is Team Foundation Server part of Visual Studio?

On September 10, 2018, Microsoft renamed Visual Studio Team Services (VSTS) to Azure DevOps Services. With Azure DevOps Server 2019, Microsoft is renaming Visual Studio Team Foundation Server to Azure DevOps Server.

How do you connect Visual Studio to TFS?

Visual Studio 2017Select Add Server to connect to a project in Team Foundation Server. Enter the URL to your TFS server and select Add. Select a project from the list and select Connect.


1 Answers

If you are just compiling applications in with Team Foundation Build, then the .NET Framework will do - however as soon as you start wanting to do anything more advanced (such as running unit tests and having their results published into TFS) then you will need to bite the bullet and install a Visual Studio Team Edition on your build server. I usually just install a copy of Team Suite on the build server so that people who are licensed to use the various features can have those features run as part of any automated build.

Having to have it installed on your server is not ideal, but gives you the best experience at the present time.

Regarding using your TFS server as your build server, this is not recommended for larger teams because builds tend to be pretty CPU and IO intensive beasts - however for a small team such as yours and assuming that you don't have too many build definitions that could run at once you should be able to get away with it.

like image 119
Martin Woodward Avatar answered Oct 07 '22 00:10

Martin Woodward