Solution has projects that are located outside the solution folder

前端 未结 6 1490
萌比男神i
萌比男神i 2021-02-05 06:36

I tried to add my solution to the local repository by selecting File|Add to Source Control, but I got the following message.

6条回答
  •  花落未央
    2021-02-05 07:28

    Delete .vs folder in the solution folder.

    This solved it in my case. Reason for the problem in my case may have been that I had moved the whole Solution folder to another location (one level up). I assume some of the old paths were still lingering in the .vs cache. (Be sure to close Visual Studio before deleting this folder.)

提交回复
热议问题