Hello all,

This shouldn't be too hard to answer.

I have a bunch of folders, for example WarehouseApp, WarehouseLib, etc, were in each of these folders contains a project.

Whenever I try to rename one of these folders that contains a project, I get the following error and the project will not load properly into Visual Studio.


One or more projects in the solution could not be loaded for the following reason(s):
The project file or web has been moved, renamed or is not on your computer.
The projects will be labeled as unavailable in Solution Explorer.

Do you guys know how fix this issue so that I can rename my folders?

Thanks in advance.

This is part of my Project.sln file:

Microsoft Visual Studio Solution File, Format Version 10[B].[/B]00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyApp", "MyApp\MyApp.csproj", "{58F9C679-A58F-4942-AE06-C4B03E398256}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyApp.Core", "MyApp.Core\MyApp.Core.csproj", "{DD7B354E-20F2-405C-95BE-67E6E94EBB53}"

You need to update the fields marked in red above. In this case the projects were housed in:

See how the second part is the relative file path from the .sln? That needs to be changed

This question has already been answered. Start a new discussion instead.