Solved

Opening TFS 2012 projects as readonly

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

617 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