对于.NET项目,我应该从源代码控制排除的文件扩展名? [英] For a .Net project, what file extensions should I exclude from source control?

查看:176
本文介绍了对于.NET项目,我应该从源代码控制排除的文件扩展名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我开始一个项目,我必须仔细考虑哪些文件从源代码控制中排除。有人曾经改变的标准清单,以便我可以看看它从一开始?我对我自己的工作,所以我还没有得到全面的。 我AP preciate,在一个DLL的情况下,你会想包括一些并排除他人,所以它不只是依赖于文件扩展名。 我的项目是ASP.Net,虽然其他模板进行一般性讨论也将是有益的。

Everytime I start a project I have to think carefully about which files to exclude from source control. Has someone made a list of the criteria so I can look it up from the beginning? I work on my own so I have not got round to it. I appreciate that in the case of a DLL, you would want to include some and exclude others, so it is not just dependent on the file extension. My projects are ASP.Net, although a general discussion of other templates would also be useful.

推荐答案

从的 http://blog.goneopen.com/2009/06/git-excludes-for-dotnet/

.DS_Store
._*
TestResults
*Resharper*
**.ReSharper**
**\_ReSharper.**
*.bak
*.cache
*.resharperoptions
*.suo
*.user
*.vsprops
*/TestResults
*\bin*
*\obj*
_ReSharper.*

这篇关于对于.NET项目,我应该从源代码控制排除的文件扩展名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆