I would like to move the Visual Studio solution (myProject.sln) file into a folder.
The problem with doing this is that all the relative paths in the project will break, how can you relocate the project without updating all relative paths inside the project manually?
Thanks.
In Visual Studio, click Tools > Options. Expand Projects and Solutions and click Locations. The Projects location field defines the default location for storing new projects. You can change this path if you are using a different working folder.
Click on the options menu (the vertical ellipsis) in the row and click Move. Click Browse to select the folder to which you want to move the project. Click Move.
Just click on the solution in the Solution Explorer and then click on "Save myProject.sln as..." in the File Menu. This will save your .sln in the folder that you choose without breaking the references.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With