Sharing Classes between Windows App and a Web App

Sharing Classes between Windows App and a Web App

Post by TENF » Sun, 12 Mar 2006 00:56:29


I have two programs, one is Windows app the other an asp project that share
the same classes. I am using SourceSafe for my source control. We have 2
developers working on the projects and would like to have the classes
centrally located to keep from overwriting each others work. Is there a way
that I can do this?
 
 
 

Sharing Classes between Windows App and a Web App

Post by Marina Lev » Sun, 12 Mar 2006 01:58:35

Put all the classes to be shared in their own VS project.

Then have the both application reference this DLL.

This way you have only one instance of the source code. When a change needs
to be made to the shared code, the developer checks it out - makes changes,
checks it back in. Any one else who wants to make changes has to wait until
this developer is done.