Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Opening TFS 2012 projects as readonly

Posted on 2014-01-16
3
Medium Priority
?
496 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Understanding Linux Permissions

Linux for beginners: How to view the permissions associated with files and directories and also how you can change them.

Question has a verified solution.

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

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…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

721 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