You can use this instead of the command line:
string log = @"C:\Builds\tfsLog.txt";
string settingsFilePath = @"C:\TeamProjects\TeamProjectSettings.xml";
var batchTeamProjectCreator = new BatchTeamProjectCreator();
var succes = batchTeamProjectCreator.BatchCreateTeamProject(settingsFilePath, out log);
you need to add a link to this dll:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.TeamFoundation.TeamExplorer.dll
You still have to use xml, but its a little more elegant.
, , .:)
,
Oshry