Visual Studio Copy Project

前端 未结 12 792
暗喜
暗喜 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:28

    I use Visual Studio 2013 where Project > Export Template is not an option. Here is what I use to clone a project.

    From your solution: File > Export Template > select project to make template from, note save path

    Download and install VS 2013 SDK Here

    Create new VSIX project under Extensibility

    From the VSIXManifest Dialog select the Assets tab

    Fill in the Author textbox

    Choose "Project Template" for Type and Browse to add the exported template (saved at path you noted in step 1)

    Save and build the VSIX project. Go to the VSIX project's .../bin/Debug folder and double click to run the .vsix file

    Start new instance of Visual Studio and you should see your template under whatever project type your template is. Create a new project from your template

    You will have to re-add any dll references

提交回复
热议问题