change solution file to a different folder

后端 未结 9 1060
遥遥无期
遥遥无期 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:21

    Sometimes, the solution file may contain more than 5 projects attached to it.

    In that case, Creating the new solution and adding projects to that is cumbersome and takes more time.

    You can just edit the solution file to load the projects correctly.

    Steps to do

    sdas 1. Open the solution file in notepad or any text editor. 2. update the path which is underlined and made bold.

    Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BloombergPaydownService", "BloombergPaydownService\BloombergPaydownService.csproj", "{17DDDD3E-CD39-48B4-BE3F-71E550FCBBFC}"

    1. Save the file and open in Visual studio.

提交回复
热议问题