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.  To avoid confusion, I think of it this way:

"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.

Q: How can I share a source file in one project into a project in a different solution?

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.

Published 04 September 03 08:33 by KorbyP

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Wilhelm Medetz said on September 5, 2003 3:57 AM:
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 ...

Leave a Comment

(required) 
(optional)
(required) 

Search

Go

This Blog

Syndication

Page view tracker