How To: Use VSS’ Share Command in VS.NET


The Share
feature in Visual Studio .NET (VS.NET) is neither as intuitive or as
versatile as it is in Visual SourceSafe Explorer. style="mso-spacerun: yes"> 
To
avoid confusion, I think of it this way:


size=2>“Share” in VS.NET == Add a
shared copy of a file from the VSS database into the
current project


In VS.NET, you
can share external items *into* the open source-controlled solution but you
cannot share open items *out to* other VSS Folders, whether they contain VS.NET
projects or not.


size=2>Q: How can I share a source file in one
project into a project in a different solution
face=Verdana size=2>?


size=2>A: In VS.NET, close the class library project, open the
destination solution (using File|Source Control|Open from Source Control if you
have not already opened it on your computer), click File|SC|Share, select the
items you wish to copy into the open solution, and then OK.


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

Comments (1)

  1. Wilhelm Medetz says:

    Is it possible to share projects among different solutions?
    What are there issues when sharing projects?
    When trying to share projects, I always had problems with wrong VSS database bindings …

Skip to main content