开发者

What files do you check-in to source countrol management system when working in an ASP.NET web application?

开发者 https://www.devze.com 2022-12-26 20:14 出处:网络
We have a main web application that references several other projects. Do you check-in .csproj/.sln files into source control? If so, do you use these files for msbuild or do you just include *.cs to

We have a main web application that references several other projects. Do you check-in .csproj/.sln files into source control? If so, do you use these files for msbuild or do you just include *.cs to build your dl开发者_高级运维l? Does ILMerge help in any way with performance?


You should aim to check in everything that is needed so that someone can take a fresh install of Visual Studio, do a checkout, double-click the .sln file, build and be on their way.

.sln and .csproj are a no-brainer, in my opinion: what happens if you add a new file to the project: everybody would have to manually add the file to their project files if you didn't commit the .csproj file.


  • ILMerge - no. Not for web applications. Not for the rest either.

  • Checkin? What about letting visual studio handle it. Now, in general - source control without all relevant files is garbage ;) So, it should include stuff like the project and solution.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号