Posts

Showing posts from May, 2011

TFS–Automated Project Creation

I posted a while back about the…difficulties…migrating from VSS to TFS in terms of mass project creation and re-creation. Specifically, the process to create a team project in TFS is somewhat manual and it has been extremely frustrating re-initializing our TFS sandbox prior to every iteration of testing…until today… Part 1 Today I stumbled across a useful nugget of information – there is a client-side Team Explorer command called File.BatchNewTeamProject located in the Microsoft.VisualStudio.TeamFoundation.TeamExplorer DLL located in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies. This command is used by Team Explorer in Visual Studio to create a new team project. A little extra investigation led me to a Codeplex project ( http://tfsprojprovisioner.codeplex.com/) by Brad Kaenel named Team Foundation Project Provisioner with the express purpose to “1) Produce a .Net assembly that encapsulated all the fiddly code necessary to generate the require