Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / March 2007

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dkaatz - 30 Mar 2007 19:06 GMT
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,
d
dkaatz - 30 Mar 2007 19:34 GMT
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.

> Using VS 2005, C#.
> I want to make 3 class libraries that differ only by conditional symbols.  
[quoted text clipped - 6 lines]
> Thanks,
> d

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.