Solved

Opening TFS 2012 projects as readonly

Posted on 2014-01-16
3
478 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

708 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now