L
Lisa B.
I'm relatively new to vb.net and visual studio 2005.
I have over a dozen projects created, and several of them share classes.
I've been using the "Project...Add Existing Item..." menu item to reuse my
classes, but this introduces a very big problem -- the problem is that when
I add the class to my project, it *copies* the vb file to the current
project...thus, each of the projects that use a given class have their own
copies of the class definition, and so if I improve, fix, or add to my
class, it only effects whichever project was active when I did the
modification...this is definitely NOT what I would want!
Basically, I would like to use my own custom classes in multiple projects,
but I want all the projects to refer to the same file, so that I can edit
the class from within any project that uses it, and have my revision be seen
by all the projects that use that class. What is the "standard" or
"recommended" way of doing this?
I think this is a very simple and commonplace code management problem, yet I
haven't seen it addressed in any of the basic .NET books I've read so far.
Lisa B.
I have over a dozen projects created, and several of them share classes.
I've been using the "Project...Add Existing Item..." menu item to reuse my
classes, but this introduces a very big problem -- the problem is that when
I add the class to my project, it *copies* the vb file to the current
project...thus, each of the projects that use a given class have their own
copies of the class definition, and so if I improve, fix, or add to my
class, it only effects whichever project was active when I did the
modification...this is definitely NOT what I would want!
Basically, I would like to use my own custom classes in multiple projects,
but I want all the projects to refer to the same file, so that I can edit
the class from within any project that uses it, and have my revision be seen
by all the projects that use that class. What is the "standard" or
"recommended" way of doing this?
I think this is a very simple and commonplace code management problem, yet I
haven't seen it addressed in any of the basic .NET books I've read so far.
Lisa B.