Category name:TFS

PublishedApplications sweetness for TFS Build

I just learned that there exists a nuget package that allows you to build your non-web projects to a ‘_PublishedApplications’ directory just as your web projects are build to a ‘_PublishedWebsites’ directory.

Check it out:

From there on it’s an easy ride to get your build to produce Octopus deploy packages. You can read about it here:

If you want to know all about setting up TFS build for Octopus deploy, check this great walkthrough:


Happy Coding!

Fixing a Branching Mess

At work we never really had a branching strategy. This resulted in a big branching mess. People were either not branching at all or were making it up as they went along.

Now we have chosen to follow guidance given at The Basic Branch Plan should work fine for us in most cases. This plan dictates that our branch hierarchy should look like this:


However, our branch hierarchy looked more like 2 separate trees or just a single column like this:


That’s not good.

I came across the option to reparent a branch from:

However, when I tried this I saw that I could not select certain branches as a parent to other branches. The solution to this is the same as fixing branches after a migration. Do a baseless merge! This is nicely described in this post,  step 2:


And look at our branch hierarchy now: