locked
Visual Studio Source Control and SourceSafe RRS feed

  • Question

  • Hello,

    I am new to VSS ,using VSS with Visual studio 2010.My problem i was unable see the option like checkout for edit, undo checkout,... when i right click on solution explorer .

    thanks in advance

    Regards

    -----------------

    Satyanarayana


    satyanarayana

    Monday, May 7, 2012 6:22 AM

Answers

  • Satyanarayana,

    You don't just install it and start using, you must first "BIND" the project/solutions to a Source Code Control Provider.

    Within Visual Studio -> if you go to Tools -> Options, find the "Source Control" option (click to check all options if you need to see it).  What value do you have for "Current source control plugin-in?"  It needs to be the provider you will be using within Visual Studio.

    Once that is done, you can go to your Solution, right click and then Add to Source Control (if it is not already within source control).  This will add the solution, project(s), and all files to your provider.  If it is already within Source Control, go to File -> Source Control -> Open From <PROVIDER>, this will ask you to find the solution and project(s) within source control, place it on disk and get all the files.

    The key to Add to Source Control or Open From Source Control is that it will "BIND" all of your solution/project files to the Source Code Control Provider.  Once those have been bound, commit those changes back into source control, and them from that point on, just open the BOUND solution file from disk, as you do not need to use the "Add To" or "Open From" commands on already bound files.

    Searching the internet should provide you with more details if you so wish.


    Good Luck.


    Jeff Clausius - SourceGear

    Stretching VSS to its limits? Have you looked at SourceGear Vault?


    Monday, May 7, 2012 2:55 PM

All replies

  • Satyanarayana,

    You don't just install it and start using, you must first "BIND" the project/solutions to a Source Code Control Provider.

    Within Visual Studio -> if you go to Tools -> Options, find the "Source Control" option (click to check all options if you need to see it).  What value do you have for "Current source control plugin-in?"  It needs to be the provider you will be using within Visual Studio.

    Once that is done, you can go to your Solution, right click and then Add to Source Control (if it is not already within source control).  This will add the solution, project(s), and all files to your provider.  If it is already within Source Control, go to File -> Source Control -> Open From <PROVIDER>, this will ask you to find the solution and project(s) within source control, place it on disk and get all the files.

    The key to Add to Source Control or Open From Source Control is that it will "BIND" all of your solution/project files to the Source Code Control Provider.  Once those have been bound, commit those changes back into source control, and them from that point on, just open the BOUND solution file from disk, as you do not need to use the "Add To" or "Open From" commands on already bound files.

    Searching the internet should provide you with more details if you so wish.


    Good Luck.


    Jeff Clausius - SourceGear

    Stretching VSS to its limits? Have you looked at SourceGear Vault?


    Monday, May 7, 2012 2:55 PM
  • Before starting the steps from iclausius - SG, did you install this KB (http://archive.msdn.microsoft.com/KB976375) to integrate the VSS with VS 2010?

    Bob Bao [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, May 8, 2012 3:17 AM
    Moderator