Should a .sln be committed to source control?

后端 未结 15 1492
时光说笑
时光说笑 2020-12-23 20:17

Is it a best practice to commit a .sln file to source control? When is it appropriate or inappropriate to do so?

Update There were several good poin

15条回答
  •  太阳男子
    2020-12-23 20:52

    Yes, it should be part of the source control. When ever you add/remove projects from your application, .sln would get updated and it would be good to have it under source control. It would allow you to pull out your application code 2 versions back and directly do a build (if at all required).

提交回复
热议问题