- Go to Manage Workspaces (either through the File/Source Control menu or the workspace drop down in Source Control Explorer)
- select edit for your workspace.
- You should see, under working folders, a mapping for the source
control directory to the old/wrong project directory. - Select it and click remove.
- Close VS and delete the suo file.
It still references the wrong directory. Maybe rebinding might work at this point but I didn’t try that. Reload your project and you should be good to go.