I have about a dozen Visual Studio 2010 projects I\'ve been working on that are versioned in a TFS repository. Recently I went on a vacation and upgraded my computer\'s OS t
I see numerous answers providing different solutions here. I've had this happen a few times in the past, and usually unbinding/rebinding did the trick. However I just fought this issue recently, and NOTHING seemed to work.
So, I simply deleted the solution directories on my machine, and then got latest from source. Worked like a charm. However, all of my changes were checked-in, so I didn't have to worry about losing anything. YMMV.
When I renamed my solution, I ran into this error as well. I tried all of the above and it did not resolve the situation.
Actual Solution for me was to edit the Build Definition with the new Solution Name
Make sure that you solution is already added to source control: File > Source Control > Add Solution to Source Control.
When you have an invalid binding and unbinding/binding a project doesn't work, try the following:
Works for me all the time...