The IDE does have the option to link in a file. When add an existing item to your project, click the down arrow next to the open button in the dialog. Change it to 'Link'. This will not make a copy in your project directory. The linked file will also be updated whenever you change it from it's original project.
8) sean -----Original Message----- From: Sean Greer (SBI-Chico) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 2:57 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] How to create a C# source lib? I don't know if the IDE allows this or not, but you can add items to a project's .csproj and make it a link. The syntax looks like this: <File RelPath = "grok.cs" Link = "..\srclib\grok.cs" SubType = "Code" BuildAction = "Compile" /> I don't have visual studio .net at this location, so I can't check on IDE support for links via the properties window. Seang -----Original Message----- From: David Ferguson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 2:17 PM To: [EMAIL PROTECTED] Subject: [DOTNET] How to create a C# source lib? How to create a C# source lib? I would like to start C# a source code library. It will include general utility classes. I will keep the library in one central place, say \dev\srclib. I will add individual files to projects as needed. Here is the problem... When 'I use Project/Add Existing Item' to include the source module VS.NET makes a copy of the source file in the current project directory. Obviously any changes made to this copy don't make it back to original source. So I how do get VS.NET to create a reference and not make a copy? Thanks...David You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.