Monday, March 12, 2012

visual source safe vs.net 2005

Hi,

We are a team of developers using vs.net 2005. We have to work on the same project. How do we add our projects to visual source safe so that we don't delete each others' work by mistake?

Thanks

One of you needs to open the latest version of the project in Visual Studio, then choose File->Source Control-> Add [Project type] To Source Control. Then you can choose where your central Source Safe Database is, assuming you've already set it up correctly.

Everyone else needs to open the project by starting Visual Studio, and selecting File-> Open Project/Solution [or Website]. In the Browse dialog, on the left-hand side, there's an icon that looks like a safe and says 'SourceSafe'; click on it to choose a Source Safe Database and then a Source-Controlled project.

After you open the project this way, you should be able to use the quick link on the Start Page to open the project. Just make sure that files in the Solution Explorer have either a lock, a checkmark, or a user-image next to them to be sure that the project is indeed monitored by Source Safe.


Thanks for the response. How do i add the central database? do i do it with visual sourcesafe explorer or with visual sourseSafe Administrator?


Source safe administrator. File->New Database. After you create it, you need to put a share on the folder so other computers can access the directory.

When you set up other computers, you need to use a UNC path to the database, i.e.\\server\myShare\ (it should pick up the database automatically; the information is contained in the srcsafe.ini file.


Thanks for the help :-)

0 comments:

Post a Comment