开发者

When uploading a project to an open source repository, should one remove the bin and obj folders?

Just wondering what the standard practice is. Removing these folders before uploading makes the downloaded files easier to sort through and reduces the file count and size of the project (faster download). However, the downloader has to rebuild it to run it in his IDE of choice (in this case, VC#).

I will most likely have a separate download for the compiled binary so I imagine that removing the bin and obj folders would be desira开发者_如何学Goble? Also, removing these folders remove all exe's and compiled files from the source code so they can be shared by services such as Gmail (Gmail does not allow emailing executables) without hassle.


yes, the obj and bin folders are generated by build process and are not needed by other developers to open the solution and rebuild the projects.

in general you should strip out also .suo files and other user specific files Visual Studio could create locally.


Yes, you should remove the binaries. As you said, you can offer separate binaries to download. If you have binaries in your version control repository, it also adds a bunch of unneeded file changes to your source control, making it harder sometimes to see what the real changes are.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜