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 / May 2006

Tip: Looking for answers? Try searching our database.

Use a single source file in multiple projects

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul Cheetham - 25 May 2006 19:07 GMT
Hi,

I have two projects where I want to use the same source file in each
project. (VS2005, c#, single solution)
If I add the file to each project, then a local copy is made.

I want to be able to have a single source file used by both projects so
that I only have to change one file.
I am using compiler directives within the file, and so I can't just
build it into a DLL and do it that way, I really do need to make both
projects reference the same source file.

Does anybody know how to do this?

Thankyou.

Paul Cheetham
Peter Macej - 25 May 2006 19:41 GMT
http://www.vbdocman.com/blog/archives/11

Signature

Peter Macej
Helixoft - http://www.vbdocman.com
VBdocman - Automatic generator of technical documentation for VB, VB
.NET and ASP .NET code

Paul Cheetham - 26 May 2006 10:29 GMT
> http://www.vbdocman.com/blog/archives/11

Thanks for that.

Paul
MariuszK - 30 May 2006 07:38 GMT
Hello,
if you use any Source Control tools You will have a possibility share
one file in few projects.

Mariusz.

Rate this thread:







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.