BatchNewTeamProject File Command Not Available in VSTS 2010
I am trying to automate the creation of team projects using a command built into VS 2010 called File.BatchNewTeamProject using a project settings file as an argument and executing this as a process in the background from my C # win application. I am aware that Team Explorer must be open and connected to TFS before this command can run, however when I start the process using devenv.exe, a new visual studio instance appears with Team Explorer not connected by default, Like can i solve this problem?
source to share
Just posted this project on Codeplex: http://tfsprojprovisioner.codeplex.com/
Includes an assembly that hides the BatchNewTeamProject behind a simple programming interface, and a sample desktop application that you can use to create and submit new Team projects. Should be run on a computer with VS 2010 installed and a user with permissions to create new projects. But that doesn't require you to interact directly with VS.
source to share