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)

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)

The TFSings you do

Short story on a case which tfs does not handle well In our tfs repo we have a structure – a dev folder which keeps dev branches in it. For one of our products, turns out we don’t need that structure, cause for the past 2 years, there were 2 cases in which this actually helped. In order to keep things simple I wanted to perform an easy (one would assume) task. Instead of having…

By on (tags: tfs, categories: tools)

git-tf second encounter

Last time I wrote about my first impressions after trying out git-tf. Now it’s time for part two. I started using git-tf just before they released version 2 that introduced a few changes, so I was a bit confused about the ‘unexpected’ results. Let’s start with the things that didn’t change. One changeset vs all changesets By default, when you do a git tf checkin all the commits…

By on (tags: git, tfs, categories: tools)

git-tf first encounter

As promised here I’ll share some info on using git-tf. Just started, so the impressions may change but as a starter that should be good enough. Intro git-tf is developed by microsoft guys and … what a surprise it was when I found a download link straight from a microsoft server. Usually, things like that provided on the same site the project is hosted but not this time (promisi…

By on (tags: git, tfs, categories: tools)

The perils of tfs source control

I’ve used a few version control systems: visual source safe, subversion, git, mercurial and tfs. My current favourite – git. It it’s the most popular one at the moment, but to be honest there’s a good reason for that. It has a gigantic learning curve, but once you grok the concept, everything falls into place. My second  choice – subversion. I’ve used it for a long time an…

By on (tags: tfs, categories: tools)

Taming TFS - Automatic deployment of Click Once projects

We’ve covered deploying web application, now it’s time for click once. So let’s get to it. This is the end result: After some checks I’m retrieving the project files with “FindMatchingFiles” activity, then for each project and each configuration publishing the project and transferring it to the test server. Here’s the breakdown in detail. The “FindMatchingFiles” activity argume…

By on (tags: tfs, categories: infrastructure)

Taming TFS - Automatic deployment of web apps

This time we’ll take a look at web projects and how to publish them automatically after the build. The requirement here was to be able to publish a site via ftp (IIS has a new feature called ftp publishing so why not utilize it). I’m going to stop here for a second and brag on one thing that really bothered me. Microsoft released “1-Click deployment” (not to be mistaken with Cl…

By on (tags: tfs, categories: infrastructure)

Taming TFS - Digitally signing assemblies

Signing is a bit more tricky than strong naming. I didn’t want to use delay signing, because that requires additional configuration on development stations, so just like with strong naming – plain old simple build on the development machine and the fancy stuff on the build server. I already have a certificate for signing but that needs to be in the build users private cert stor…

By on (tags: tfs, categories: infrastructure)

Taming TFS - Strong naming assemblies

Today we’re going to look at another build script adjustment – strong naming assemblies. The scenario we are aiming for is that during development, the assemblies are not signed (so developers don’t need to have the a certificate file - a little bit more on that later), but during a build on the build server they are. This can be handled by providing additional parameters to ms…

By on (tags: tfs, categories: infrastructure)