Visual Studio move project to a different folder

前端 未结 15 2633
野的像风
野的像风 2020-11-30 18:41

How do I move a project to a different folder in Visual Studio? I am used to this structure in my projects.

-- app
---- Project.Something
---- Project.Someth         


        
15条回答
  •  生来不讨喜
    2020-11-30 19:14

    I wanted the changes in Git to be shown as moves/renames instead of delete & adds. So I did a combo of the above and this post.

    mkdir subdirectory
    git mv -k ./* ./subdirectory
    # check to make sure everything moved (see below)
    git commit
    

    And adjust the paths of the projects and of the assemblies from the nuget Pkg's in the sln file via a text editor.

提交回复
热议问题