TFS Build Numbers & File Version Now with Hosted TFS Build Support

Over the years I’ve been posting on the blog here at Wintellect a set of MSBuild tasks that make it easy to get the TFS Build number during a build and use it as your binary version string. You can read about that code here and here. In a nutshell, you modify your C#, VB,…

IntelliTrace: Making On Time Shipping Possible

Last week the Microsoft Central District asked me to come down and do a road show through Texas and Arkansas. What a road show it was; seven flights, six different hotels, and 20+ hours driving between places in six days. But it was all worth it because I got to talk about my favorite feature…

Wintellect TFS Build Number Task for VS/TFS 2012

Looks like I forgot to post the updated version of my TFS Build Number Task for VS/TFS 2012. Let me rectify that by pointing you to the updated version here: http://www.wintellect.com/cs/files/folders/21032/download.aspx. If you’re wondering what this is about, here’s the history of how I created the task and how to integrated it into your build:…

Fixing TFS 2012 Power Tools PowerShell CmdLets in PowerShell x64

The TFS 2012 Power Tool installation only installs the TFS PowerShell Snap-In for the 32-bit flavor of PowerShell on an x64 machine. With nearly all developers running x64 machines, we miss the ability to script TFS access in the ultimate scripting language. Needing to script so TFS automation I went looking to see if we…

Fixing Stuck/Hung Build in TFS Preview and Dev 11 Beta Build Server

Realizing I hadn’t updated my build server that ran against TFS Preview to the Beta Dev 11 TFS, I upgraded the machine and ran into a problem. The first queued build stuck and could not be canceled or deleted from the queue, thus blocking all builds. With an on premises TFS you can go into…

Vote to Treat TFS as an Enterprise Symbol Server

Ed Blankenship has a brilliant idea to make symbol servers even easier to use. He wants TFS itself to serve up the symbols instead of requiring you to create the file share and fight with the network admins to get it backed up. Ed’s got a wonderful proposal on his blog about how the feature…

Things I Am Enjoying (December, 2011)

In the development world, there’s a lot of things that bump, distract, and annoy you through the day. Those get a lot of attention in blogs to help others work around those issues and to document the pain. What does not get a lot of attention are those things that work well and make your…

More on TFS 2010 Build Numbers Inside Your Projects

The other day I wrote about how to incorporate build numbers into your .CSPROJ and .VCXPROJ files. In doing some more testing I found in some edge cases where the way I was getting the current build number by including Microsoft.TeamFoundation.Build.targets could interfere with the TFS Build. That’s not good so I fixed the problem…

TFS 2010 Build Numbers & File Versions from Inside Your C# and C++ Projects

A while ago, I showed using MSBuild 4.0 to create build version files with the TFS build number so that build number could be included in your binaries. While you can use Jim Lamb’s excellent custom workflow activity, I liked doing the version numbers with MSBuild because you could have the same build for both…

WiX Projects vs. TFS 2010 Team Build

As I mentioned before, I’m in the process of moving my life over to TFS 2010 Beta 2. I’m using the excellent WiX 3.5 Beta that plugs into Visual Studio 2010 to create my setup and I had a developer build working like a dream. Things got a little more exciting when I created my…

TFS 2010 Build Number and Assembly File Versions: Completely In Sync with Only MSBuild 4.0

Edit: 09/11/2011: This entry still describes how the build numbers work, but I’ve updated the files and shown how to incorporate these changes into .CSPROJ and .VCXPROJ files, Read the follow on blog entries, http://www.wintellect.com/CS/blogs/jrobbins/archive/2011/09/05/tfs-2010-build-numbers-file-versions-from-inside-your-c-and-c-projects.aspx and http://www.wintellect.com/CS/blogs/jrobbins/archive/2011/09/11/more-on-tfs-2010-build-numbers-inside-your-projects.aspx.  Obviously, based on all the web links out there, keeping your TFS 2008 build number and your assembly…

Code Quality – A Conversation with John Robbins

At the 2008 PDC, I finally was able to meet the people behind one of my favorite products, NCover. As I’m passionate, (some would say a zealot!) about code coverage, having a great tool like NCover in the market is wonderful. While there are all sorts of development methodologies you can follow, there’s only one…