Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
How to programmatically checkout TFS solution and add a project to it?

My Solution is at a deep level in hierarchy.

I am able to find required solution using vcs.GetItem("$/..") but unable to proceed from there.

Loading of that solution into an EnvDTE.Solution2 object and adding project into it, then saving the solution by giving the local path, then checking in workspace doesn't bind solution to the TFS.

Please help me in this.
Posted
Updated 24-Nov-11 4:26am
v2
Comments
InfySam 25-Nov-11 0:16am    
Hi,
I am able to add the project to the TFS just by doing PendAdd() to workspace(This time I din't use any DTE classes) but this adds project to TFS but not to a solution in TFS. What I want is I want to add this project to a solution in TFS. Any pointers are highly appreciated.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900