The error "project" has been renamed or is no longer in solution "?

I am using visual studio 2010. I have a solution with many projects.

These projects were copied from another solution, and I renamed some projects.

The first time I built this solution successfully, after that I closed the solution and reopened it when

I built the error error "the project ' ' has been renamed or is no longer in the solution" .

I looked for my problem on this forum, read many ways, but finally, I have to create a new solution and add projects again => it can work successfully at that time.

But unfortunately, this error is repeated again when I close and reopen the solution.

Can anyone show me a solution to remove this error?

Thank you very much,

T & TGroup

+4
source share
2 answers

I was getting the same error message in VS2010.

I resolved it, but opened the solution file (.SLN) and deleted the line that referenced my projects. Then I was able to re-add my projects to the solution and build it correctly.

 ProjectReferences = "{F9859F0E-556D-44B5-BBDA-F4CEDEAA3226}|WebServiceInterface.dll;{ED5F7021-3E36-44D0-8362-577CFFF79090}|SharepointWeb.dll;" 
+2
source

I also ran into this problem. I caused this problem when I needed to rename my vcxproj and sln files, and the old project dependencies did not match the new file names.

Here are a few steps, hope this works for you ...

Removing all projects from the solution and adding them back one at a time to find the project file with the problem. Having opened the file in notepad, I deleted the links to the project below and saved the file. I reloaded the solution in VS 2010 and reset the project dependencies.

+1
source

All Articles