. Dtproj. dtproj. vspscc. vssscc

Source: Internet
Author: User

Files used by source control integration in VSS and VS. NET

There are a couple of files used by VisualStudio and SourceSafe for source control integration.
Before describing what is stored in them w. r. t. source control, let me emphasize one thing:Do not delete these files! 
If you think that you will "unclutter" your hard drive by deleting these files, think again! You will do more harm than good, and will risk breaking the source control integration or other source control related features.

Solution file (<solution>. sln)

GlobalSection(SourceCodeControl) = preSolutionSccNumberOfProjects = 2SccProjectName0 = \u0022$/Solution1\u0022,\u0020HBAAAAAASccLocalPath0 = ..\\..SccProvider0 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafeCanCheckoutShared = trueSccProjectFilePathRelativizedFromConnection0 = SubFolder\\Solution1\\SolutionUniqueID = {50843811-C224-4A03-8FFF-C527B6AFE5AA}SccProjectUniqueName1 = ClassLibrary1\\ClassLibrary1.vbprojSccLocalPath1 = ..\\..CanCheckoutShared = trueSccProjectFilePathRelativizedFromConnection1 = SubFolder\\Solution1\\ClassLibrary1\\EndGlobalSection

Project files (<project>. vcproj, <project>. vbproj, etc)

        SccProjectName = "SAK"        SccLocalPath = "SAK"        SccAuxPath = "SAK"        SccProvider = "SAK"

Connection hint file (<solution>. vsscc)-Notice the double's ', different from solution hint file that uses tripple's'

    This file is created by VisualStudio when the solution file does not reside in the solution connection folder. for instance, if a solution C: \ temp \ Subfolder \ Solution1 \ Solution1.sln contains only a solution item C: \ temp \ File.txt, and this solution is added
    Source control, then the solution's connection folder will be c: \ temp (the folder that contains all the files in the solution ).
    The. vsscc file shoshould only exist in the source control database, and never on the local disk (well, only temporarily ). the file is used during OpenFromSourceControl operations: when the user selects a sln file to open from source control, and in the database
    There is. vsscc file with the same name, VisualStudio will get it locally and read it. the source control integration will open the connection using the SccProjectName0 database folder stored in. sln file, and will move or get the solution file locally
    In the subfolder indicated in the. vsscc file, then will open the solution on local disk from this subfolder. The rest of the files in the project will be retrieved incrementally after that.

    The. vsscc file is a Unicode text file containing a 'jay0' signature followeb by the relative path from the connection root to the solution's parent folder. Here is an example:

Jay0Subfolder\Solution1

Solution hint file (<solution>. vssscc)

    This file is always created by source control integration for a controlled solution. (see also Project Hint Files)
{"FILE_VERSION" = "9237""ENLISTMENT_CHOICE" = "NEVER""PROJECT_FILE_RELATIVE_PATH" = "relative:SubFolder\\Solution1""NUMBER_OF_EXCLUDED_FILES" = "2""EXCLUDED_FILE0" = "ExcludedTextFile.txt""EXCLUDED_FILE1" = "ExcludedTextFile2.txt""ORIGINAL_PROJECT_FILE_PATH" = """NUMBER_OF_NESTED_PROJECTS" = "0""SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROJECT"}

Project hint files (<Project. vcproj>. vspscc, <Project. vbproj>. vspscc, etc)

    These files are to their related projects the equivalent of the solution hint file to the solution. The vspscc and vssscc files have similar formats and contain similar fields.
{"FILE_VERSION" = "9237""ENLISTMENT_CHOICE" = "NEVER""PROJECT_FILE_RELATIVE_PATH" = "relative:SubFolder\\Solution1\\ClassLibrary1""NUMBER_OF_EXCLUDED_FILES" = "0""ORIGINAL_PROJECT_FILE_PATH" = """NUMBER_OF_NESTED_PROJECTS" = "0""SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"}

Here is the explanation of fields in the vspscc/vssscc files:
-Enlistment_Choice (Never = regular project or solution, Compulsory = web project in isolation mode)
-Project_File_Relatie_Path: the path of the solution's (or project's) folder relative to the root of the source control connection used by that solution/project
-Number_Of_Excluded_Files and Excluded_FileXXX: The list of files excluded from source control in the project. for solution, this is the list of files excluded from source control in the Solution Items/Solution Folders projects. the file names are relative
To the solution's folder.
-Original_Project_File_Path: Used for web projects in isolation mode (empty for the rest of projects and solution ), this is the path of the project for the user who craeted the project and added it to source control. it helps creating the correct/new enlistment
Mappings when opening just the project from source control.
-Number_Of_Nested_Projects: Self explanatory, you'll see this different than 0 for instance in web projects in VS2002 (which nested a WebUI and Web ???) -Source_Control_Settings_Provider: Provider or Project, indicating where shoshould VisualStudio login CT
Retrieve the source control binding for the related project (in the mssccprj. scc file created by the provider, or in the project file persisted by VisualStudio)
Solution user options (<Solution>. suo)

    This file is used by Visual Studio to store settings that are user-specific (not shared amongst different team members working on the same solution ). source control integration package stores in this file user-specific settings like:

  • The path to the source control database: each team member may access the same database differently, e.g. for SourceSafe one user can access it as "D: \ Program Files \ Microsoft Visual SourceSafe 6.0", while another may access it via a file share "\ alin-home \ SourceSafe \"
  • Flags that indicate whether you're working Disconnected or not (see File/SourceControl/ChangeSourceControl dialog)
  • Web projects translations paths: when adding a web project to a solution, the solution will contain in the web path of the user who created this web, let's say http: // localhost/MyWebProject1. When this solution is added to source control and is opened by
    Second user, this user is prompted to select an enlistment for the web projects. using Set Project Location dialog, this second user can pick a location like http: // alin-home/WebProject1 /. notice that sln file cannot be modified to retarget the web location
    For this second user, because otherwise first user wocould have problems opening his web enlistment. source control intrgration package will store this path in the suo file. if you accidentally delete the suo file and your solution contains web projects, you
    May unknowinugly end up working on other teammate's files, or may simply fail to open the websites.
 

Mssccprj. SCC-This file is created by MSSCCI-compliant source control providers

    This file is created by source control providers like Visual SourceSafe if they can track the location of certain files in the database. A provider creates this file if it can store the AuxPath and ProjectName bindings for a file.

    To help the source control integration in visualstudio, a source control provider needs to track the location of solution and project files. when the provider is able to track the source control location of a project file, the source control bindings
    That project will not be written in the project and solution file (dummy 'sak' strings will be used instead as a signature in this case ). this helps scenarios like branching, when the project will be automatiicaly be bound to the branched location without
    User having to use the file/sourcecontrol/changesourcecontrol dialog to retarget the new branch. also, creating mssccprj. SCC may help keeping the source control integration working even when the users don't use source control integration properly (when they
    Get projects using VSS standalone instead of using the integration commands openfromsourcecontrol)

    In sourcesafe the list of files that will be tracked can be configured using sourcesafe explorer in tools/options/filetypes/createsccfile.

    Here is an example of a mssccprj. SCC file content:

SCC = This is a Source Code Control file[ClassLibrary1.vbproj]SCC_Aux_Path = "D:\Program Files\Microsoft Visual SourceSafe 6.0"SCC_Project_Name = "$/Solution1/SubFolder/Solution1/ClassLibrary1", PBAAAAAA

For a description of mssccPrj. scc file format you can consult the most recent MSSCCI specification.

Vssver. SCC or vssver2.scc-These are Microsoft Visual SourceSafe specific files

    Visual SourceSafe 6.0d and older creates VssVer. scc in each folder that contains source controlled files.
    This file is used to establish 1:1 relations between the local parent folder and a project in a VSS database. getting files from multiple VSS projects into the same local folder is not a good practice, and is not recommended, as the content of these VssVer *. scc
    Files will be overwritten with each get operation.

    Vssver. SCC contains the version numbers, timestamps and checksums of the files in the matching sourcesafe project that have been got in the local folder. if this file is deleted, merge operations will not function correctly.

    Visual sourcesafe 8.0 creates vssver2.scc instead of vssver. SCC. in addition to the informations stored in vssver. SCC, this file stores the names of the files in the database and the parent folder at the time last get operation was completed MED. visual sourcesafe
    8.0 tries to protect this file from being deleted accidentally by marking it hidden, read-only and system. if this file is however deleted, operations like 3-way merge, checkout local version, rename and deletes propagation and synchronization (in visualstudio)
    Will not function correctly.

 

% USERPROFILE % \ Local Settings \ Application Data \ Microsoft \ websitecache \ websites. xml-Visual Studio 2005 web project bindings

    In VisualStudio 2005 web projects don't have an associated project file, so VisualStudio 2005 had to store project-specific settings like the source control bindings in a different location. while bindings are stored in the solution file, a copy of the project
    Bindings is also stored in this WebSites. xml file. this allows opening web projects without a solution; web projects will be still be able to connect to the correct source control location. the source control information stored in this file is equivalent
    The information stored in the project file by the projects that track their files using a project file (vbproj, vcproj, etc ).

From: http://alinconstantin.members.winisp.net/webdocs/scc/SccFiles.htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.