适用于 Visual Studio 2010 项目的 Mercurial .hgignore
不要与 用于 Visual Studio 2008 项目的 Mercurial .hgignore
混淆询问是否可以在 Visual Studio 2010 中重复使用同一文件,或者是否应该向其中添加一些其他扩展等,&为什么?
Not to be confused with Mercurial .hgignore for Visual Studio 2008 projects
I was asking whether if that same file can be reused for Visual Studio 2010, or some other extensions, etc should be added to it, & why?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
新事物与 MSTest 相关。这是我使用的:
The new things are related to MSTest stuff. This is the one that I use:
我觉得了解有关我的存储库的每一条信息很重要,因此我从不将 .hgignore 文件从一个存储库复制并粘贴到下一个存储库,而是总是边构建边构建它们。
这对于 TortoiseHg 来说很容易,因为提交窗口将列出所有未跟踪的文件,并且简单的右键单击将允许我添加模式以忽略这些文件。这样我总是会发现我可能想保留或不想保留的新文件。
例如,在 Thomas 发布的列表中,
*.resharper
是最后一个条目。这将防止共享每个解决方案的 resharper 设置,因为可以设置 ReSharper 配置对话框中的选项之一。换句话说,如果您想确保所有开发人员都使用相同的设置来运行 ReSharper 将帮助您完成的许多事情,那么该特定行就不能存在。所以我的建议是:手动执行,您将在此过程中了解有关项目的一两件事。
I feel that it is important to know every piece of information about my repositories, so I never copy and paste the .hgignore file from one repo to the next, instead I always build them as I go.
This is easy with TortoiseHg, as the Commit window will list all untracked files, and a simple right-click will allow me to add patterns to ignore those files. This way I always discover new files that I may or may not want to keep.
For instance, in the list published by Thomas,
*.resharper
is the last entry. This will prevent sharing the resharper settings per solution, as one of the options in the config dialog for ReSharper can be set to. In other words, if you want to ensure that all the developers are running with the same settings for a lot of the things ReSharper will help you with, that particular line can't be there.So my advice is this: Do it manually, you'll learn a thing or two about your project in the process.