all groups > visual studio .net ide > march 2007 >
You're in the

visual studio .net ide

group:

hot to make multiple class libraries from the same source (C#)


hot to make multiple class libraries from the same source (C#) dkaatz
3/30/2007 11:06:03 AM
visual studio .net ide:
Using VS 2005, C#.
I want to make 3 class libraries that differ only by conditional symbols.
If I create multiple projects in my solution, and refer to the source file
and assembly info file, each gets copied to each project's own directory -
leaving me with three identical sets of files to maintain! I want to be able
to point each project toward a single set of source files.
Can it be done?

Thanks,
RE: hot to make multiple class libraries from the same source (C#) dkaatz
3/30/2007 11:34:04 AM
Never mind, I found out how from a an old post here. When selecting the file
to Add Existing... to my project, the Add button has a drop down for Add
Link. Use this to refer to the original file instead of copying it.

[quoted text, click to view]
AddThis Social Bookmark Button