Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update .sln (solution) file within Visual Studio 2019

I am clean build-ing and rebuild-ing the project I am working with and I keep getting errors that is is unable to find the path/folder/filename because I ended up updating the name within file explorer.

I want to open the projectname.sln file and update the file path manually.

My current workaround is to right click .sln file and open with VS Code. Do my edits and then save. After saving it causes a trigger to reload in Visual Studio

like image 629
Roger Perez Avatar asked Sep 13 '25 05:09

Roger Perez


1 Answers

You have to unload project by right-clicking on the project.

Once unloaded you can right-click and edit project.csproj.

Update the paths that are causing the problem.

Save and reload.

like image 53
Roger Perez Avatar answered Sep 15 '25 19:09

Roger Perez