TFS预登记自定义规则集 [英] TFS Pre Check-in custom rule set
问题描述
我正在使用Visual Studio
I am using Visual Studio
Microsoft Visual Studio Ultimate 2013
版本12.0.40629.00更新5
Microsoft .NET Framework
版本4.6.01055
Microsoft Visual Studio Ultimate 2013
Version 12.0.40629.00 Update 5
Microsoft .NET Framework
Version 4.6.01055
我已经完成了
如何:为托管代码项目配置代码分析
如何:创建自定义规则集
How to: Configure Code Analysis for a Managed Code Project
How to: Create a Custom Rule Set
问题在于自定义规则设置没有调用shell脚本的选项。您只能选择一个预定义的规则列表,其中大多数规则不适用于数据库代码,如PLSQL。我希望将perl脚本称为自定义规则集
或以其他方式调用违规并阻止用户办理登机手续。
Problem is that with custom rule set there is no option of calling a shell script. There is only a pre-defined list of rules you can choose from and most of them don't apply to db code such as PLSQL. I am looking to call a perl script as a custom rule set or in some other way to check violation and stop user from check in.
BR,
Sarfraz。
推荐答案
你好Sarfraz,
Hi Sarfraz,
哪个版本的TFS你在用吗?
Which version of TFS are you using?
你能否分享"如何:创建自定义规则集"的来源?以及"没有调用shell脚本的选项"的屏幕截图?
Could you share the source of "How to: Create a Custom Rule Set" and the screenshot of "there is no option of calling a shell script"?
您是否尝试创建自定义TFS 签到策略?
Are you trying to create a custom TFS check-in policy?
祝你好运,
这篇关于TFS预登记自定义规则集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!