All further editing is of the new copy and is not reflected in the original file.Īnother option is to link to the existing file instead of duplicating it.
When you add an existing file using the default options, the file is copied from the original location into the target directory within the project folder. When you are creating a project using Visual Studio you can create and add new files or include files that already exist. There is an option to link to the file, rather than duplicate it, allowing files to be shared between multiple projects. Normally when an existing file is added to a project within Visual Studio, the file is copied into the project folder.