Solved

Opening TFS 2012 projects as readonly

Posted on 2014-01-16
3
486 Views
Last Modified: 2014-02-03
Hi,
 
  If I right click on a project under source control and select Get Latest vs Advanced/Map to Local Folder - whats the difference? I wanted to download all the files under this project into a temporary folder on my C: drive which I can modify/run w/o any changes being recorded as pending. How do I do this?
0
Comment
Question by:LuckyLucks
  • 2
3 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 39788542
I usually approach that situation by creating a branch, and then I can check in changes, and experiment without affecting that code base.
0
 

Author Comment

by:LuckyLucks
ID: 39797454
So branching will create a parallel stream of work which we can later merge (into the source control). However, does branching create a copy of all the code in the version control locally to start off?
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 39797613
That depends on how much you add to the TFS server, and how you branch.

This is how I manage my solutions:

Common Projects
        Base Data Layer
               Development
                      Iteration1
                           Shared Binaries
                           Shared Source
                           Source            
               Main
                      Shared Binaries
                      Shared Source
                      Source
               Release
                      v1.0.0.0
                           Shared Binaries
                           Shared Source
                           Source
Web Site Project
      Development
            Iteration2
               Shared Binaries
               Shared Source
               Source            
      Main
            Shared Binaries
            Shared Source
            Source
      Release
            v2.1.1.0
                 Shared Binaries
                 Shared Source
                 Source

When branching from common source projects, select the Main common project folder for branching, and select the target Development folder, and enter a name.  Assembly references are relative in project files, so you just need to keep the same relative depth for assembly.  If you branch from a folder, like Main, then everything branches as a package.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Article by: gr8gonzo
Git can be a complicated version control system for beginners, but it definitely is one of the best ones out there. Since this article assumes that you're starting at square one, it will skip over things that Git -can- do and will focus on the typic…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question