Visual Studio move project to a different folder

前端 未结 15 2632
野的像风
野的像风 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:11

    I tried the suggestion to remove and re-add the project, but then fixing up dependencies can be a pain.

    I use this approach:

    1. Move the project folder.
      • If the project is in source control, do the move using source control commands.
    2. Edit the solution file in a text editor. There should be only one path that you need to change.

提交回复
热议问题