I recently upgraded my IDE, but not my compiler from VS2010 to VS2012 and now I'm having issues with one of my solutions. When I try to build it I get below message.
The project file has been renamed or is no longer in the solution
And when I try to build the individual projects I get below message
A build is already in progress
I've tried removing and re-adding all the projects, but that doesn't help. I even created a brand new solution with all the same projects, but when I tried to build I got the same errors as with the original solution.
I've read that lot of people have similar problems to this, but none of their solutions have helped me so far.
One suggestion was to see if any projects had any missing reference but I'm not entirely sure how to go about doing that.
I tried removing the references and re-adding them but every time I tried to re-add them I got the same error "The project file '' has been renamed or is no longer in the solution"
Any help or suggestions would be awesome!
delete the .suo and reload worked for me after moving from VSO to onsite TFS had some issues
The project file has been moved renamed or not on your computer
This problem is normally caused by the project version converter.
The deal is that a Referenced project into a project in the solution isn't any longer in the solution (As I said, the cause is a problem in the conversion or manual delete).
So you had to see all projects references (
Right click on the project -> "References..."
) and check that every referenced project exist in the solution - otherwise add the missing project to the solution or remove the invalid modifier.This awnser is based over an existing awnser: https://stackoverflow.com/a/14722733/1107020
Make sure all project files (*.vcxproj) in the solution have the matching GUID in defined in them, something like that:
For some weird reason projects converted from VS2008 didn't have that, and VS2010 insisted to replace all projects' GUID in the solution file every time it loaded the solution, but never actually added them the the project files.