> I have one class file which I would like to share across several asp.net
> apps in VS 2005. I would like changes I make to that shared file to
> reflect in all the apps. By default when I add the shared file (which is in
> its own directory) to the project, it gets copied to the project directory
> and changes are reflected only there. Is there a way to have it not copy
> the source file locally to the project folder, instead leaving it in the
> shared folder only?
For this function (VS 2003, VB), I make a shared source file project, and
when I want to reference such a file from another project, I do Project, Add
Existing Item, browse to it, and then open it as a link file. I assume the
same is available in VS 2005. All caveats convey, eg an edit to a shared
file will be visible to all projects that share it, so you may fix some
things and break other things.
|