all groups > visual studio .net ide > july 2006 >
You're in the

visual studio .net ide

group:

Linking to other source files


Linking to other source files Jesper Axelsen
7/28/2006 2:16:40 PM
visual studio .net ide:
Hi roup

First a little description of how I do today

I've been working with Delphi for several years. In Delphi I can, from
within a sourcefile, link to any other sourcefile on my disk. Ie. I
have a folder where I keep all my source files containing different
utility classes. When I need some functionality stored in one of those
files, I simply add this file to the "USES" section. Delhpi knows
where to look for the file, because I've entered is patht in the
Environment settings.

Futhermore I can improve and optimize the sourcefile while I'm working
with it from within any project. When I then some other time compile a
previous project, these changes applies to that project also ( because
they are linked to the sme file )



I'm very new to Visual Studio, and so far I keep the the C# language.
I have a .cs source code file which I want to link to different
projects, just as I do in Delphi. Is that possible, and how?. If I add
a reference from the solution explorer, it just copy the file to that
project, so every other project that use that same file have to be
edited too. Is there a solution to that problem

Best regards
Re: Linking to other source files Peter Macej
7/28/2006 2:22:22 PM
http://www.helixoft.com/blog/archives/11

--
Peter Macej
Helixoft - http://www.vbdocman.com
VBdocman - Automatic generator of technical documentation for VB, VB
Re: Linking to other source files Jesper Axelsen
7/28/2006 2:35:25 PM
Thanks, peter. Just what I needed


On Fri, 28 Jul 2006 14:22:22 +0200, Peter Macej <peter@vbdocman.com>
[quoted text, click to view]

AddThis Social Bookmark Button