Visual Studio Copy Project

前端 未结 12 755
暗喜
暗喜 2020-12-04 07:02

I would like to make a copy of my project. I would rather not start doing it from scratch by adding files and references, etc. Please note that I don\'t mean copy for deploy

12条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-04 07:42

    I have a project where the source files are in in a folder below the project folder. When I copied the project folder without the source folder and opened the copied project, the source files are not missing but found at the old location. I closed the project, copied also the source folder, and re-opened the project. Now, the project magically references the copied source files (both the new path showed up on "save as" and a change in a file has been saved in the copied version).

    There is a caveat: If not both old and new project folders are below a used library folder, the above-mentioned magic discards also the absolute reference to the library and expects it under the same relative path.

    I tried this with VS Express 2012.

提交回复
热议问题