I had an issue with .suo file where Visual Studio retrieving an incorrect path to a project from old location after I moved the files to new location.
I have tried below things but didn’t work
• Removing and re-adding the project from the correct location. An error message comes up saying The project file at C:\My Projects\ExampleSolution\ExampleProjectWrong\ExampleProjectCorrect.csproj could not be found.
• Manually editing the .sln file to ensure all references to ExampleProjectCorrect.csproj have the correct paths.
• Doing a find in files on the solution directory for both the correct and incorrect paths, to try and track down where studio is hiding the incorrect path.
• Deleting the cache directories for VS and TFS
At last I found that .suo is storing all reference and vs is pointing to .suo file only even you changed to new location. Deleted .suo file and added new location, it’s now working fine.
Remember, checking .suo to TFS may cause lot of issues.
Thanks Phani Abburi for the help. Hope this might be useful in some where