Add to Book Shelf
Flag as Inappropriate
Email this Book

Using Visual SourceSafe : SourceSafe / VSS Tutorial, Volume 163: SourceSafe / VSS Tutorial

By Gao, Kevin

Click here to view

Book Id: WPLBN0002821915
Format Type: PDF eBook:
File Size: 3.76 MB
Reproduction Date: 11/21/2012

Title: Using Visual SourceSafe : SourceSafe / VSS Tutorial, Volume 163: SourceSafe / VSS Tutorial  
Author: Gao, Kevin
Volume: Volume 163
Language: English
Subject: Non Fiction, Technology, Computer programming - version control
Collections: Authors Community, Technology
Historic
Publication Date:
2012
Publisher: Kevin Gao
Member Page: Catherine Sea

Citation

APA MLA Chicago

Gao, B. K. (2012). Using Visual SourceSafe : SourceSafe / VSS Tutorial, Volume 163. Retrieved from http://gutenberg.us/


Description
Although this SourceSafe tutorial can be used for anyone who is interested in SourceSafe, it is mainly for software developers. As you may have been using SourceSafe for a long time and know many features of VSS, I will try to make the table of the content easy to navigate so hopefully you can easily find the information that you are interested in.

Summary
SourceSafe / VSS is a version control tool used by many Windows developers. I started to use SourceSafe in 1995. Before I started to work on SourceAnywhere for VSS (a VSS remote access tool) in 2003, I only used very basic features of SourceSafe and did not even use integration in Visual Studio. After successfully launching SourceAnywhere for VSS, our team started another product, SourceAnywhere, the SQL-based VSS replacement. During the development process of these products I gained a deeper and deeper understanding of SourceSafe. In this SourceSafe How To series / tutorial, I will write some guides, How To and FAQs about SourceSafe and will also post resources I found on the internet. This series will cover some basic and intermediate topics of SourceSafe as well as some advanced topics.

Excerpt
In this SourceSafe How To series / tutorial, I will write some guides, How To and FAQs about SourceSafe and will also post resources I found on the internet. This series will cover some basic and intermediate topics of SourceSafe as well as some advanced topics.

Table of Contents
Introduction _________________________________________________________ 4 What is VSS? ________________________________________________________ 5 Market position _______________________________________________________ 6 What can VSS do? ____________________________________________________ 7 History preserving _____________________________________________________________ 7 File Difference _________________________________________________________________ 8 Project/Folder Difference _______________________________________________________ 9 Easy Collaboration ____________________________________________________________ 10 Several Important Concepts ___________________________________________ 12 VSS Database/Repository _____________________________________________________ 12 Working Folder _______________________________________________________________ 12 Master Copy and Local Copy ___________________________________________________ 12 Basic operations ____________________________________________________ 13 Add _________________________________________________________________________ 13 Get _________________________________________________________________________ 14 Check Out ___________________________________________________________________ 15 Check In _____________________________________________________________________ 16 Some Screenshots___________________________________________________ 17 Working folder ______________________________________________________ 19 Working folder introduction _____________________________________________________ 19 Setting working folder _________________________________________________________ 19 Working folder is inheritable ____________________________________________________ 21 Clear working folder ___________________________________________________________ 21 Add operation of SourceSafe __________________________________________ 22 Add introduction ______________________________________________________________ 22 Differences between SourceSafe 6 and 2005 ____________________________________ 22 Store only latest version _______________________________________________________ 23 File type filter _________________________________________________________________ 25 Binary or not _________________________________________________________________ 28 Get Latest __________________________________________________________ 32 Get Latest Version Basics _____________________________________________________ 32 How does VSS determine if our local copy is the latest version? ____________________ 33 Build tree ____________________________________________________________________ 34 Set file time __________________________________________________________________ 35 Replace writable ______________________________________________________________ 36 Lock-Modify-Unlock or Copy-Modify-Merge ______________________________ 38 The details of Lock-Modify-Unlock mode: ________________________________________ 38 The details of Copy-Modify-Merge ______________________________________________ 38 Icons for different checkout modes ______________________________________________ 39 How to choose the Lock-Modify-Unlock or Copy-Modify-Merge mode _______________ 40 Check Out __________________________________________________________ 42 Check out basics _____________________________________________________________ 42 1 Recursive, Build tree, Replace writable and Set file time ___________________________ 43 Allow multiple checkouts _______________________________________________________ 43 File Diff ____________________________________________________________ 44 Why File Diff _________________________________________________________________ 44 What File Diff can do __________________________________________________________ 44 How File Diff works ___________________________________________________________ 46 Example of File Diff ___________________________________________________________ 46 File Merge __________________________________________________________ 48 File Merge Introduction ________________________________________________________ 48 How merge is performed_______________________________________________________ 48 Example of merge ____________________________________________________________ 49 Four scenarios that merge may be performed ____________________________________ 51 Project Diff _________________________________________________________ 54 Why Project Diff ______________________________________________________________ 54 How to Launch Project Diff _____________________________________________________ 54 Project Diff Results ___________________________________________________________ 55 VSS in Visual Studio 2005 & 2008 _______________________________________ 57 Choosing SourceSafe as the SCC Provider in Visual Studio _______________________ 57 Adding Solution into Source Control of SourceSafe _______________________________ 58 Performing SourceSafe Operations in Visual Studio _______________________________ 58 Changing Source Control Binding _______________________________________________ 60 Pending Checkins Window _____________________________________________________ 61 Viewing Source Control Message _______________________________________________ 61 Share ______________________________________________________________ 62 Why Share ___________________________________________________________________ 62 How to Share file(s) ___________________________________________________________ 62 How to Find the Share Links ___________________________________________________ 64 How Project Share is performed in VSS _________________________________________ 65 Switching Visual Studio projects from SourceSafe to other SCC providers _____ 66 For Visual Studio 2005/2008 ___________________________________________________ 66 For Visual Studio .NET 2003/Visual Studio 6.0 ___________________________________ 69 Branch ____________________________________________________________ 74 Introduction to Branch _________________________________________________________ 74 Why Branch __________________________________________________________________ 74 How to Branch _______________________________________________________________ 75 How to Track Different Branches _______________________________________________ 77 Cloak ______________________________________________________________ 79 Why Cloak ___________________________________________________________________ 79 To Cloak a Visual SourceSafe Project ___________________________________________ 79 How Cloak Works _____________________________________________________________ 81 Introduction to Microsoft Source Code Control Interface (MSSCCI) ____________ 83 Microsoft Source Code Control Interface (MSSCCI) Registry Entries ___________ 84 MSSCCI Registry Structure ____________________________________________________ 84 2 How to Edit/View the Registry __________________________________________________ 87 Improvement in Visual Studio 2005 and 2008 ____________________________________ 87 Label ______________________________________________________________ 88 Label Introduction _____________________________________________________________ 88 How to Label a File/Project ____________________________________________________ 88 How to Modify a Label _________________________________________________________ 90 How to Get Files/Projects by Label ______________________________________________ 91 Scenarios When Label May Be Performed _______________________________________ 92 Integrating VSS with Access 2007_______________________________________ 93 Integrating VSS with Access 2003_______________________________________ 98 Integrating VSS with SQL Server 2008 __________________________________ 105 Integrating VSS with SQL Server 2005 __________________________________ 108 Integrating VSS with Dreamweaver ____________________________________ 110 Integrating VSS with Flash ____________________________________________ 113 How to manage users _______________________________________________ 119 Integrating VSS with Visual C++ 6.0 ____________________________________ 121 Integrating VSS with Visual Basic 6.0 ___________________________________ 126 Integrating VSS with PowerBuilder _____________________________________ 132 How to backup & restore VSS DB ______________________________________ 136 To archive a SourceSafe database: ____________________________________________ 136 To restore the projects from an archive file: _____________________________________ 139 A Free Tool to Manage the MSSCCI Provider _____________________________ 143 Pin _______________________________________________________________ 144 Show History ______________________________________________________ 147 Show History Basics _________________________________________________________ 147 How to view the history of an item _____________________________________________ 147 History Explorer _____________________________________________________________ 148 Share an old version of project ________________________________________________ 150 How to Manage Security _____________________________________________ 152 Introduction _________________________________________________________________ 152 Managing project level security ________________________________________________ 152 How to version control SQL Server Stored Procedures with Visual Studio 2003_ 157

 
 



Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.