473,387 Members | 1,455 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Sharing Common Classes

Ben
Hi.

Can anyone decribe a good method to share Common classes between
projects while using source control?

I used to just point everything to one directory... but started using
SourceSafe lately, and that causes some issues, since when you update
from sourceSafe you can get older versions of the Common classes...

So now, I'm trying to simply create a seperate project for the Common
stuff, and check it into a seperate project in source control. But
when I add it to an existing solution of the project that needs to use
it, I can't right-click the solution and choose Check In --- it asks
me if I want to copy my project's files to the Common project
folder... not sure why...

Thanks, I'll appreciate any advice to work in a better way !

Ben

Jul 26 '07 #1
1 1535
Ben
On Jul 26, 4:59 pm, Ben <benm5...@gmail.comwrote:
Hi.

Can anyone decribe a good method to share Common classes between
projects while using source control?

I used to just point everything to one directory... but started using
SourceSafe lately, and that causes some issues, since when you update
from sourceSafe you can get older versions of the Common classes...

So now, I'm trying to simply create a seperate project for the Common
stuff, and check it into a seperate project in source control. But
when I add it to an existing solution of the project that needs to use
it, I can't right-click the solution and choose Check In --- it asks
me if I want to copy my project's files to the Common project
folder... not sure why...

Thanks, I'll appreciate any advice to work in a better way !

Ben
btw, more specifically, the error is that is can't map the SLN file to
the current SourceSafe project... (I think it's trying to check in
the SLN to the Common sourcesafe project) -- i'm not sure how to get
around this... thanks !!

Jul 26 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

42
by: Dan | last post by:
Hello, I have trouble with class calling. I am calling getvolume() with succes in the function CreateCircle but it do not want to call it in ShowCircle() function. I am staying in the same...
6
by: Sajid Saeed | last post by:
Hi All, I wuld like to know if there is any possibility of sharing a common class between different applications. i.e. if the two applications are running, they can share the class, and changes...
5
by: cybertof | last post by:
Hi ! What is the common use of sharing a single .cs across multiple project files ? I think it's to share common classes between projects. I have actually a .cs file shared accross multiple...
1
by: JoeS | last post by:
Is there anyway to share a single pch file between projects in VC 7.0? I have 300+ projects each of which creates its own pch. All projects include the exact same header files in the precompiled...
3
by: Robert W. | last post by:
I'm embarking on a project that will have both a desktop application and a Pocket PC application. It seems logical to have as much code as possible sitting in a shared project, which would be...
4
by: dbcuser | last post by:
Hi All, This is a very simple question. I have a proxy class (for web service) and couple of other classes that are common for 3 of my projects. As a developer, I would like to keep these common...
4
by: Raghu Raman | last post by:
Hi, I have created an Interface class in the c#.net for Asp.net and we make this interface to be inheritted by a class . It is working nice. My probs is , i want to make this interface...
1
by: Joe | last post by:
While I understand that Server Side Includes still work, I realize it's not the best practice for sharing code such as a common set of includes between screens. In ASP.NET I've already built...
5
by: =?Utf-8?B?QWxleCBNYWdoZW4=?= | last post by:
I'm developing a service which is two sites: a Mobile Site and a PC-Based Site. The whole goal is to have them operate very similarly but, of course, there will be many differences: 1....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.