change solution file to a different folder

后端 未结 9 1079
遥遥无期
遥遥无期 2021-02-03 18:03

How do I change the folder of my existing solution file (sln)?

It\'s right now inside one of my project\'s folder; if I cut the solution file and paste it in the root fo

9条回答
  •  长发绾君心
    2021-02-03 18:28

    if I cut the sln file and paste it in the root folder,it doesn't load any of my projects

    Do this anyway, and try to open the solution. It will tell you that some projects couldn't be loaded: ignore the warning.

    Then, go ahead and delete all the projects from the solution. After this right click the solution and select Add => Existing project and browse to your project file. Repeat for all projects in your solution.

提交回复
热议问题