防止签入 WCF *.datasource 文件 [英] Prevent WCF *.datasource files from being checked-in

查看:32
本文介绍了防止签入 WCF *.datasource 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于 WCF 代理生成的 *.datasource 文件在将它们检入 TFS 2010 源代码管理系统时会出现长文件路径问题,因此我希望能够将它们添加到默认情况下不存在的文件列表中标记为待签入的待处理添加.

Since the WCF proxy generated *.datasource files give problems with long file paths when checking them into the TFS 2010 source control system, I would like to be able to add them to the list of files that, by default, are not marked as a pending add to be checked-in.

是否可以在 TFS 项目或集合级别通过扩展名配置文件排除?

Is it possible to configure file exclusion by extension at TFS project or collection level?

推荐答案

啊,发现(在撰写本文时)这是 Visual Studio 团队积压的公认愿望:https://connect.microsoft.com/VisualStudio/feedback/details/419915/allow-tfs-to-exclude-specific-file-extensions-from-being-add-to-source-control

Ah, found out that (at time of writing) this is a recognized wish on the backlog of the Visual Studio team: https://connect.microsoft.com/VisualStudio/feedback/details/419915/allow-tfs-to-exclude-specific-file-extensions-from-being-add-to-source-control

那是个坑……

好吧,我将调查为此目的部署的文件模式排除策略:http://social.msdn.microsoft.com/Forums/en-AU/tfsversioncontrol/thread/03ca91cf-4332-43bb-a358-96d8fe8633dd

Well, i'll investigate the File Pattern exclusion policy to be deployed for this purpose: http://social.msdn.microsoft.com/Forums/en-AU/tfsversioncontrol/thread/03ca91cf-4332-43bb-a358-96d8fe8633dd

这篇关于防止签入 WCF *.datasource 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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