Navigation


Markus on Development and Publishing

This is Markus Egger's professional blog, which covers topics such as development, publishing, and business in general. As the publisher of CoDe and CoDe Focus magazines, and as the President and Chief Software Architect of EPS Software Corp., Markus shares his insights and opinions on this blog.

Content Area Footer

Tuesday, August 08, 2006
Changing the Local Path in Team Foundation Server Source Control

Here is something that drove me crazy until I finally figured it out: We are now using Team Foundation Server for source control instead of various systems we used before (such as VSS). I joined a project, and I was not quite sure what local path to use. Just like with Source Safe, I am never quite sure whether I need to add the actual name of the project folder, or whether it will add that automatically. So long story short: I picked the wrong path.

The trouble now was: How do I change the local path? Once the local path is picked, there is no obvious way to change it again, because all the UI options one uses the first time around are now disabled.

The answer is "workspaces". Visual Studio has a "Workspaces..." menu item under the Source Control menu item in the File menu. This shows the "Manage Workspaces" dialog, which allows each user to manage all their worspaces. A workspace could be a configuration for each machine a user uses (for instance). You can then go and edit individual workspaces, which provides you a list of all local names (local paths) for each project you have ever joined, and this is where you can change the path.

So there: Isn't this intuitive?



Posted @ 5:04 PM by Egger, Markus (markus@code-magazine.com) -
Comments (33)




Comments:

RE: Changing the Local Path in Team Foundation Server Source Control
Wednesday, November 29, 2006 4:13 AM by Adam Pan

I: Click Menu [File] II: Click menu item [Workspace] III: Open yours workspace, choose yours workspace item, edit it.


RE: Changing the Local Path in Team Foundation Server Source Control
Tuesday, December 19, 2006 3:32 AM by Kikou

Thx a lot =)


RE: Changing the Local Path in Team Foundation Server Source Control
Thursday, March 15, 2007 2:23 PM by John Vaudin

Thank you, thank you, a thousand times thank you!


RE: Changing the Local Path in Team Foundation Server Source Control
Wednesday, April 25, 2007 6:09 PM by vish aswathaiah

Thank you very much


RE: Changing the Local Path in Team Foundation Server Source Control
Thursday, May 24, 2007 4:19 PM by HFBandy

Wow! You must have been struck by divine inspiration to find that one! Millions of bonus points to you for posting it. I wonder if Microsoft will pick up on the fact that this is impossible to find.


RE: Changing the Local Path in Team Foundation Server Source Control
Tuesday, July 17, 2007 1:29 PM

Much thanks for this useful information!


RE: Changing the Local Path in Team Foundation Server Source Control
Thursday, January 10, 2008 11:01 PM by Basharat Hussain - basharat@live.com

Thanks, we are developing a professional application using TFS, My local folder directory structures differs by some reson from other team (wrongly placed). When ever assembly refrence is added by some one, and I get latest version, I have to reset the references ... I want to change the DS and it helped me lot. BR/Bash


RE: Changing the Local Path in Team Foundation Server Source Control
Friday, March 07, 2008 3:47 AM by Amit

Thanks a lot.


RE: Changing the Local Path in Team Foundation Server Source Control
Friday, March 07, 2008 3:12 PM by Ves

Yup another thank you here. The time you took to write this entry in your blog probably saved me hours of time and a great of mental energy that would have been expended through frustration. Add my time to all of the time of the people that posted and those who benefited but never posted. If we all shared our learning experiences this way the world astoundingly more efficent.


RE: Changing the Local Path in Team Foundation Server Source Control
Tuesday, March 11, 2008 8:51 AM

Thank you


RE: Changing the Local Path in Team Foundation Server Source Control
Wednesday, April 09, 2008 7:37 AM

It is really a great information...Thanks a lot


RE: Changing the Local Path in Team Foundation Server Source Control
Thursday, April 10, 2008 5:22 AM by sip

Thanks a lot for that post. That stuff was driving me crasy ;-) It's always annoying to loose time with that kind of problem. Cheers S.


RE: Changing the Local Path in Team Foundation Server Source Control
Friday, April 11, 2008 1:39 AM by Ramir Borja

Yeah hiding that setting in Workspace was annoying. Thanks for posting Markus.


RE: Changing the Local Path in Team Foundation Server Source Control
Monday, May 05, 2008 2:51 PM

Thanks a lot friend. your posing is really help full.


RE: Changing the Local Path in Team Foundation Server Source Control
Tuesday, May 13, 2008 3:52 PM

you ROCK!! Thanks a Zillion !!!


RE: Changing the Local Path in Team Foundation Server Source Control
Tuesday, August 12, 2008 9:59 AM

THANK YOU SO MUCH...I thought I was about to lose it, I knew microsoft could be that dumb as to not give an option to change the path at all! (Although they need to fix this one)


RE: Changing the Local Path in Team Foundation Server Source Control
Wednesday, October 29, 2008 3:05 PM by Jon

Like everyone above said: Thank-You! And, note to Microsoft: please make this easier to find in the future!


RE: Changing the Local Path in Team Foundation Server Source Control
Monday, November 10, 2008 10:47 AM by Jon

In Visual Studio Team System 2008 Dev. Ed., you can also do this by following these steps: 1) Open Source Control Explorer 2) Select the project folder whose mapping you want to change. 3) File->Source Control->Remove Mapping (this lets you Change or Remove the mapping). 4) Update the path as needed (or delete the mapping, if that's what you wanted to do).


RE: Changing the Local Path in Team Foundation Server Source Control
Tuesday, January 20, 2009 3:04 AM

Super Thanks Markus. Saved a lot of time


RE: Changing the Local Path in Team Foundation Server Source Control
Tuesday, February 03, 2009 11:35 AM

Thank you, thank you, thank you, thank you, and thank you. This post saved me hours of time spent wandering, I'm sure.


RE: Changing the Local Path in Team Foundation Server Source Control
Monday, February 23, 2009 10:33 AM

I appreciated this information. Thank you!


RE: Changing the Local Path in Team Foundation Server Source Control
Wednesday, July 08, 2009 2:06 AM

Thanks a lot... I appreciate your efforts. This helped me.


RE: Changing the Local Path in Team Foundation Server Source Control
Friday, September 18, 2009 6:21 PM by Carrie

Sure, this was posted 3 years ago, but wow, sooooooo helpful to me today. I've been trying to reload a project from sourcecontrol with corrected path, for HOURS and HOURS, and could not figure out why I couldn't get the path changed. This was a huge help, I'm on my way again. :^)


RE: Changing the Local Path in Team Foundation Server Source Control
Tuesday, September 22, 2009 4:30 AM

Thanks so much. I couldn't find out how to do it. So very grateful for your posting.


RE: Changing the Local Path in Team Foundation Server Source Control
Monday, December 21, 2009 4:14 AM

Hi, This is really a huge help. thanks a lot.
kiran


RE: Changing the Local Path in Team Foundation Server Source Control
Tuesday, January 12, 2010 1:25 PM by Kevin

Thank you! Very helpful.


RE: Changing the Local Path in Team Foundation Server Source Control
Sunday, February 07, 2010 7:48 PM by Brendon

Thank you. As you imply, very intuitive ...


RE: Changing the Local Path in Team Foundation Server Source Control
Monday, February 08, 2010 10:01 PM by Parag - parag_shah@persistent.co.in

Thanks very much. Saved time to find this.


RE: Changing the Local Path in Team Foundation Server Source Control
Friday, February 26, 2010 4:40 PM

I am not able to change the checkout path folder ,even after adding a new workspace


RE: Changing the Local Path in Team Foundation Server Source Control
Wednesday, April 21, 2010 10:05 PM

Thanks a ton. Trivial but very useful


RE: Changing the Local Path in Team Foundation Server Source Control
Friday, May 07, 2010 10:21 AM

The best solution found so far. Thanks a ton!


RE: Changing the Local Path in Team Foundation Server Source Control
Tuesday, May 11, 2010 3:11 PM

Thanks !!! Looks like you've saved countless individuals hours of frustration (including me).


RE: Changing the Local Path in Team Foundation Server Source Control
Thursday, July 22, 2010 4:26 AM by wedding - tombupliy@gmail.com

We booked our kayak trip through the cruise organization. I think I would do that again, as it ensures that everything works out with your arrival and departure times. I can't recall how much it was exactly. I believe it was less than $100 per person,




Post a Comment:

Comment Title (required)

Your Name (optional)

Your Email (optional)

Your Web Site (optional)

Your Comment (required)

 

 

 

 

 

 

 



My Twitter Status


    follow me on Twitter  


    Geo Caching
    Profile for MarkusEgger

    Syndication RSS 2.0 RSS 2.0

    All My Blogs:
    My personal blogs:
    Dev and Publishing Dev and Publishing
    Travel and Internat. Living Travel and Internat. Living
    Other blogs I contribute to:
    Milos Blog (US) Milos Blog (US)
    VFPConv. Dev Blog (US) VFPConv. Dev Blog (US)
    VFPConv. Dev Blog (DE) VFPConv. Dev Blog (DE)

     

    Blog Archives
    All Blog Posts

    2010
        July (1)
        June (1)
        April (3)
        March (1)
        February (5)
        January (1)
    2009
        October (4)
        September (2)
        August (1)
        July (1)
        May (4)
        April (6)
        February (1)
        January (1)
    2008
        December (3)
        November (11)
        October (8)
        September (1)
        July (1)
        June (3)
        May (3)
        April (6)
        March (6)
        February (4)
    2007
        December (1)
        November (1)
        October (5)
        September (1)
        August (1)
        July (6)
        June (3)
        May (3)
        April (1)
        March (2)
        January (2)
    2006
        December (3)
        November (4)
        October (1)
        September (2)
        August (2)
        July (4)
        June (1)
        May (2)
        April (10)
        March (2)
        February (3)
        January (1)
    2005
        December (6)
        November (7)
        October (6)
        September (8)
        August (10)
        July (6)
        June (9)

     

     

     

    This Blog is powered by MilosTM Collaboration Components.