Solved

Opening TFS 2012 projects as readonly

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

939 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