I was able to eliminate the error by performing File | Source Control | Open from Source Control. You will be asked whether to overwrite existing files; answer "yes".
(You should, of course, back up your source code first.)
Note, this was on VS2008; I have not tried it on VS2010.