easy but urgent: how can i set up some .vb files for use as a bunch of shared files for various projects
Posted on 2006-05-09
how can i split out some .vb files for use as a bunch of shared files?
i have some files that i plan to use for several projects. i want there to be only one copy of those files.
here's what i have done so far:
1. movd these files that were going to be shared into a folder like c:\prj\shared\
2. removed the shared files from the project
3. added all the .vb files from c:\prj\shared to the project (for easy access)
strangely, VB.NET 2003 then COPIED all those files into the directory structure of the project:
then i removed the files it had copied (undoing "step 3" (see above)).
then i added a Reference to c:\prj\shared\ in the project properties...figuring then it would see the files and i could compile even though they weren't part of the project. didn't work...it wouldn't compile because the functions in the shared files were not visible.
i use this kind of unofficial "shared files" scheme for all my other languages/projects...how can i use a simple scheme like that with VB.NET 2003???