TFS 2015 – Upgrade from TFS 2010 on new hardware

Few weeks ago I wrote a post describing how to set up the Team Foundation Server 2015 on premise. This time I will show you how to upgrade from TFS 2010. This is the current situation: I have TFS 2010 SP1 running on one server. The databases weight about 9GB together. Now the goal is to move the TFS to the new machine and upgrade it to TFS 2015. As it turned out the process of …

By Mirek on (tags: tfs, upgrade, categories: tools, infrastructure)

TFS 2015 – MSBuild in custom step

If you didn’t yet happen to create a custom build step for Team Foundation Server 2015 take a look at my previous posts here and here. Today I will show you the right (IMHO) way of calling MSBuild from the custom build step. I had a task to create a custom build step which took the list of projects names and has to publish a ClickOnce installers for them. It first searches for …

By Mirek on (tags: build, ci, msbuild, Powershell, tfs, categories: tools, infrastructure)

TFS 2015 build vNext – Upload directory to FTP

In previous post I showed you how to create a custom build step, upload and use it in the Team Foundation Server 2015. This time we will try to create more complex build task. This will be FTP uploader. Keep reading. There is already a step which gives you the possibility to upload files to FTP location and it comes out of the box with TFS 2015. This is called cURL and you can …

By Mirek on (tags: build, ftp, Powershell, tfs, categories: tools, infrastructure)

TFS 2015 build vNext - Deploy nuget package

If you have a nuget packages that you deploy from your source code and want to move to the TFS 2015, there are good news. Packing and publishing nuget packages is fully supported in vNext build definition. Let’s see how to achieve that. The goal is to pack the nuget package from a .csproj  project file, create the .nupkg and then publish it to the nuget server. Let’s go to…

By Mirek on (tags: nuget, package, tfs, categories: tools, infrastructure)

Creating custom vNext build task for Team Foundation Server 2015

The new vNext build system in TFS 2015 is simpler and easier to manage than the previous version, Windows Workflow based, build system. It builds up from a collection of build step which you can add and remove. The collection of available build steps is pretty rich and can be extended by a custom build steps. In this post I will show you how to easy create and deploy a custom v…

By Mirek on (tags: build, tfs, vNext, categories: tools, infrastructure)

Setting up a TFS 2015 on premise build system

In this post I will show you a step by step guide to install and set up the on premise Microsoft Team Foundation Server 2015 Update 2. At the end of this tutorial you will have a working source control and build system based on TFS 2015 so you will be able to check-in the project code to it and trigger a build. We are installing a Team Foundation Server on a Windows Server 2012…

By Mirek on (tags: msbuild, TFS 2015, categories: tools, infrastructure)

Start learning Powershell

If you are not yet familiar with the Powershell I can honestly recommend you to start learning it. This is a great tool with almost unlimited capabilities. Powershell scripting can change basically any arduous and burdensome activities into a one click task. Anything you can manually do on the windows system  or windows based software can be automated. And if there isn’t a…

By Mirek on (tags: Powershell, categories: tools)

TFS 2015 clone/import/export build definition between team projects

While exploring features of the new Visual Studio Team Foundation Server 2015 I found that it is not possible to reuse a build definition created in one team project into another team project. Since this is a feature that I am going to use frequently, well, every time I start a new project, this is a must have functionality. In this post I will give you a complete solution I’ve…

By Mirek on (tags: build definition, clone, tfs, VSO, categories: tools, infrastructure, code)

Remote Powershell on Azure virtual machine over internet

In this post I will show you a step by step guide to enable Powershell remoting functionality on the virtual machine running Windows Server 2012R2. Then I will show you how to start a powershell session from a machine over the internet using a secure connection. So the goal is to manage an Azure virtual machine with powershell remoting on a virtual machine. Since the virtual ma…

By Mirek on (tags: azure, Powershell, categories: azure, tools, security)

Visual Studio Online and Team Foundation Server 2015 REST APIs

If you’ve been following Microsoft announcements about Visual Studio Online over the last 12 months, you already know that you can easili integrate with VSO from any platform, technology, or device. Everything thanks to a new set of of JSON-based REST APIs. Those APIs enable a lightweight way to work with Team Foundation Server from virtually any device, platform, or technology…

By Dawid on (tags: api, hooks, online, REST, service, studio, tfs, visual, categories: tools, infrastructure, code)