Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to move up solution files in directory hierarchy correctly?

For some reason I have a solution with a single project and the solution files are in the same directory as the project is. I consider this ugly and want to change it by moving the solution files in a superordinate directory.

For now I have edited a single line in the .sln file:

Project("{FAE04EC0-AAAA-AAAA-AAAA-00C04F79EFBC}") = "projectname", "projectname.csproj", "{5D5A753D-AAAA-AAAA-AAAA-C535851E8DC8}"

changed to

Project("{FAE04EC0-AAAA-AAAA-AAAA-00C04F79EFBC}") = "projectname", "directoryname/projectname.csproj", "{5D5A753D-AAAA-AAAA-AAAA-C535851E8DC8}"

It seems to work.

Could this have been all I needed to change? I have the feeling that I missed something. Did I miss something?

like image 428
citronas Avatar asked Dec 01 '25 01:12

citronas


1 Answers

That's all I do when I move slns. It's never failed me.

like image 148
NG. Avatar answered Dec 03 '25 17:12

NG.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!