The Artima Developer Community
Sponsored Link

.NET Buzz Forum
What is a VSS Shadow Folder?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Korby Parnell

Posts: 136
Nickname: korbyp
Registered: Aug, 2003

Korby Parnell is Programming Writer for Microsoft Visual SourceSafe and Visual Studio .NET
What is a VSS Shadow Folder? Posted: Sep 18, 2003 10:41 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Korby Parnell.
Original Post: What is a VSS Shadow Folder?
Feed Title: Korby Parnell
Feed URL: /msdnerror.htm?aspxerrorpath=/korbyp/Rss.aspx
Feed Description: Copyright 2003 Korby Parnell Fri, 01 Aug 2003 10:03:48 GMT ChrisAn's BlogX korbyp@microsoft.com korbyp@microsoft.com Alex Lowe Joins Microsoft http://blogs.gotdotnet.com/korbyp/permalink.aspx/536bb108-6a66-4dc6-8847-69f4d799bb55 http://blogs.gotdotnet.com/korbyp/permalink.aspx/536bb108-6a66-4dc6-8847-69f4d799bb55 Fri, 01 Aug 2003 10:03:48 GMT From ASP.NET MVP to Microsoft .NET Evangelist.  Success is the domain of good guys.  Welcome aboard Alex.  I look forward to meeting you in person.  Thanks to ScottW for posting the big announcement. Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no otorga ningún derecho.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Korby Parnell
Latest Posts From Korby Parnell

Advertisement

I played racquetball yesterday against a Web developer who sometimes works as a vendor at Microsoft (a V-Dash in Microspeak). After he beat me soundly in three straight games, he asked me what a "programmer/writer" does on a daily basis. He had seen my job title in my Outlook personnel properties. I explained that a programmer/writer writes documentation. Specifically, I write the documentation for Visual SourceSafe and source control integration features in Visual Studio .NET.  I took a deep breath and prepared myself for the normal barrage of questions. Alas, my racquetball partner asked some questions that I can answer.  In fact, I have answered many of his questions in this weblog. He asked questions like,

Q: How can I move a database from one computer to another?
A: Literally drag and drop the entire database directory.

Q: How can I work on my laptop and synchronize with the VSS database when I go back online.
A: In VS.NET, checkout the project and then click File|Source Control|Change Source Control, select your solution and click Disconnect. Go offline. Upon reconnecting, repeat steps above, click Connect in the Change Source Control dialog box, and then check in your project.

And then he said something funny (at least I think it's funny:).  When discussing how to take his projects offline he mentioned that somebody on his team had suggested Shadow Folders.  Whoa!

Stop right there.

Q: What is a Shadow Folder?
A: A Shadow folder is a read-only copy of the tip version* of all files in a given VSS project folder. It is regularly updated, or at least it should be.

Q: When should I use Shadow Folders?
A: I use shadow folders to give non-team members a glimpse into the latest state of my source files and projects.  Shadow folders are great for managers and the members of related teams because they aren't tempted to checkout (and screw up) your source files.

Q: Is there anything I can do to make Shadow Folders more usable?
A: Yes! When naming your VSS project folders and when creating any file that might be added to the VSS database, create filenames that contain no whitespaces. I use underscores instead (eg, My_Project_1.csproj in $/Projects_2/SourceFiles). Doing so allows me to embed live UNC links to the shadow copies of my source controlled files in emails and other documents (eg, //mycomputer/Projects_2/SourceFiles/My_Project_1.csproj).

Q: How can I setup Shadow Folders for my database?
A: You can do so on a project by project basis using VSS Administrator. Click Tools|Options, select the Shadow Folders tab, click the Browse button and select a desired VSS project folder. Then, click the 2nd Browse button and specify the path on physical disk where you'd like to save the shadow copies of the files in this VSS project folder. To shadow the entire database, select $/.

__________________
*The "Tip Version" is the version of a file in a VSS database that sits atop its version stack. It is the most recently created version. The Tip Version is not necessarily the Latest Database Version however. If you pin a file at a particular version (say v5 of 10 vers), that version (v5) becomes the Latest Database Version.

++++++++++++++++
Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no otorga ningún derecho.

Read: What is a VSS Shadow Folder?

Topic: Microsoft Releases Live Meeting Previous Topic   Next Topic Topic: Office 2003 Now Available on MSDN

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use