m_SC.GetAllTeamProjects(true)

Jun 20, 2007 at 1:47 AM
VersionControlServer: m_SC.GetAllTeamProjects(true)

will retrieve a list of projects that have its Source Control initialised.

What if the source control for a project has not been initialised? We cannot see them in WICreator.

Do you think it would be better to use the WorkItemStore instead; m_WIS.Projects...?
Coordinator
Jun 20, 2007 at 6:18 AM

kmleow wrote:
VersionControlServer: m_SC.GetAllTeamProjects(true)

will retrieve a list of projects that have its Source Control initialised.

What if the source control for a project has not been initialised? We cannot see them in WICreator.

Do you think it would be better to use the WorkItemStore instead: m_WIS.Projects...?


It's a good point, I never thought that a such case would exist, for me there's always a branch associated to a Team Projet, that's why I carelessly used the SourceControl instead of the Work Item Store.

The fix is pretty simple as you guess, the biggest thing is to make a new release! :)
I make a Work Item for it, as a task to complete for the next release.
In the meantime I'm sure you can make the fix yourself and only rebuild the changed assembly.
Coordinator
Jun 20, 2007 at 6:19 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Jun 20, 2007 at 7:16 AM
The simplest fix is to initialise the Source Control
for those who do not want to mod the source code.

This can be done by opening the Source Control for the project using Team Explorer.

Cheers!