Groups | Blog | Home
all groups > visual studio .net enterprise tools > february 2007 >

visual studio .net enterprise tools : Bug? CreateTeamProjectFolder works but ListProjects won't return new projects


reiale NO[at]SPAM gmail.com
2/12/2007 8:40:42 AM
I have a custom deployment tool I am working on which creates and
configures TFS projects. However, the CreateTeamProjectFolder which
returns without errors creates the projects in some 'mode' - an
documented attribute may be misisng, etc. The ListProjects method
returns all the projects but not those created via code.

1. The sample I used is right out of the MSDN sample code for
CreateTeamProjectFolder.
2. Source Control Explorer shows the new projects, can get latest,
etc.
3. Workaround includes checking branch history as the new projects I
am creating are all based upon a previous, root project, however, this
would make the solution less generic: ListProjects ought to work.

Ideas?
reiale NO[at]SPAM gmail.com
2/12/2007 9:53:08 AM
More info: Team Explorer in VS.NET does not show the code-created
projects while Source Control Explorer as posted earlier, does.

Is there a method that is supposed to come after
CreateTeamProjectFolder to then add the team project to TFS? Or is
this a bug?

[quoted text, click to view]

AddThis Social Bookmark Button