The project file {0} has been moved, renamed or is not on your computer

I face similar issue described in this post:

The project file * has been moved, renamed or is not on your computer

I am using VS2010. I have one project not recognize in solution (Unloaded and grey out), when edit the .sln file notices there are unmatched entries:

SccProjectUniqueName102 = CorrectPath\\Modules\\MyProject.csproj

SccProjectName102 = WrongPath/MyProject
SccLocalPath102 = WrongPath\\MyProject

Most of the answers on the internet tell you to delete the .suo file so you will get rid of it, I have tried but no luck, end up I decides to correct the paths manually in .sln file, like this:

Step 1/2

SccProjectUniqueName102 = CorrectPath\\Modules\\MyPorject.csproj

SccProjectName102 = CorrectPath/Modules/MyProject
SccLocalPath102 = CorrectPath\\Modules\\MyProject

Save the changes and open the solution again, Visual Studio still prompt me a warning said the ‘MyProject’ failed to load.

Step 2/2
Ok, it seems I should try the most popular solution, delete .suo …

Open solution again, and ….. No error/warning message given!

Pheeew, solved it at last.

Reminder:

You will lose your Visual Studio user settings by deleting the .suo file, like breakpoints, opened tabs, expanded/collapsed tree nodes, etc.

Keywords: .suo, .sln, Visual Studio 2010 Solution, Setting

References:

  1. The project file * has been moved, renamed or is not on your computer
  2. Hack the Project and Solution Files
About these ads

One response to “The project file {0} has been moved, renamed or is not on your computer

  1. I deleted the suo file and hand edited the sln file simultaneously in VS 2010. It did *not* work. Then I deleted the sdf file. That did it.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s