jeudi 25 mai 2006 13:26Hello,
I have created a custom process template for a team project. To this template I have add a plug-in that have the following dependencies:
-Work Item Tracking
-Windows SharePoint Services
My problem is that this call : "myWorkItemStore.Projects[_ProjectName].WorkItemTypes"
sometime fail with this error :
Message: TF26193: The team project AlexTest7 does not exist. Check the team project name and try again.
at Microsoft.TeamFoundation.WorkItemTracking.Client.ProjectCollection.get_Item(String projectName)
Since this call sometime succeed it look like the problem is link to the execution of the dependecies. I belive that the team project creation do not wait that all my dependencies are finish to execute my plug-in.
Im running on TFS RC.
P.S. I have try with all the normal plug-in as dependecies without success.
So if someone could help my to solve this problem I would be grateful.
Toutes les réponses
jeudi 8 juin 2006 09:06Hi Alexandre
Were you able to solve your problem yet? Did you have a look at the "Process Template Customization Guide" already? It talks about dependencies and gives some advise how to handle them.
The guide comes with the "Visual Studio 2005 SDK" and is available here.
If you solved your problem already it would be great to tell us how.
jeudi 8 juin 2006 09:14
Yo can also download Process Template Editor, and try open the template with it, and validate it, and also modify it, I think you will find this tool really helpful.
jeudi 8 juin 2006 13:01Thanks tomjanssen and Lui
I still have this problem and I am awere of the documentation and the editor since we use them on our project.
My dependencies seem to work normaly, i.e. my plug-in is execute at the end of the team project creation. But the problem is that the work item store for the project in creation is sometime not accessible. As if the the work item part of the project creation is not completed when my plug-in is execute