Prevent WCF *.datasource files from being checked-in

狂风中的少年 提交于 2019-12-08 04:57:24

问题


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.

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


回答1:


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

That is a pitty ...

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



来源:https://stackoverflow.com/questions/7409125/prevent-wcf-datasource-files-from-being-checked-in

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!