Skip to content

Instantly share code, notes, and snippets.

@edwinf
edwinf / GetBuildNumberFromDatabase.cs
Created May 21, 2012 01:02
TFS 2010 custom workflow activity to get a version number from a database
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.TeamFoundation.Build.Client;
using System.Activities;
using System.Data.SqlClient;
using System.Data;
using System.IO;
using Microsoft.TeamFoundation.Build.Workflow.Tracking;