How to get rid of VS2005 unwanted automatical copy of source files to project directory?
-
I'm using VS2005 and I've noticed a strange behaviour. I have a folder SampleProgram containing a VS project (SampleProgram.csproj) and several source files. Moreover, I have another folder (let's call it FolderA) containing other source files. If I add the files inside FolderA to SampleProgram project, VS automatically copies the source files from FolderA to SampleProgram folder. Afterwards, the project works with the locally copied files, so that any modification is not propagated to FolderA. Is there any way to disable this behaviour? I'd like to directly reference the files in FolderA instead of working on local copies! Thanks in advance and best regards, Andrea
-
I'm using VS2005 and I've noticed a strange behaviour. I have a folder SampleProgram containing a VS project (SampleProgram.csproj) and several source files. Moreover, I have another folder (let's call it FolderA) containing other source files. If I add the files inside FolderA to SampleProgram project, VS automatically copies the source files from FolderA to SampleProgram folder. Afterwards, the project works with the locally copied files, so that any modification is not propagated to FolderA. Is there any way to disable this behaviour? I'd like to directly reference the files in FolderA instead of working on local copies! Thanks in advance and best regards, Andrea