FXcop 和 Msbuild 与 CruiseControl.NET
我是新人,所以请耐心等待。我想知道如何让 MSbuild 和 FXcop 整夜运行,并在用户未完成而失败时通知用户。我被告知它们都可以集成到 CruiseControl.NET 中。我目前正在查看 CruiseControl.NET 是否能够通知用户构建失败。 (由于错误只完成了一半)。如果有人能够轻松地做到这一点,那么如果您能引导我思考或引导我找到文档,那就太好了。
感谢您抽出时间,丹尼斯·海登。 睡王
I'm new so please bear with me. I would like to know how to have MSbuild and FXcop run over night and to inform the users if they fail without finishing. I have been told they both can be integrated into CruiseControl.NET. I'm currently going to look to see if CruiseControl.NET has the ability to inform the users of a failed build. (As in only half way done due to an error). If anyone has been able to do this easily it will be wonderful if you can walk me thought it or lead me to the documents.
Thanks for your time,Dennis Hayden.
Sleepking
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以使用
任务来构建您的项目。 MsBuild 可在任务部分中使用。在任务部分有一个
标签,可用于运行 FxCop。请检查以下链接
ccnet1 和 ccnet2
You can use
<MsBuild>
task to build your project. MsBuild is available inside task section.In task section there is an
<exec>
tag which can be used to run FxCop.please check the following links
ccnet1 and ccnet2
在文档的 任务 部分,您应该看到MsBuild 的条目。要运行 FxCop,您可以通过 MsBuild 运行它,也可以使用可执行任务。
In the Tasks section of the documentation, you should see an entry for MsBuild. To run FxCop, you can either run it through MsBuild, or use the Executable task.
还有一个很好的 MSBuild 社区任务 集合,支持 FxCop 以及一整套其他工具创建 CI 环境时会派上用场。
There is also a nice collection of MSBuild Community Tasks that have support for FxCop as well as a whole suite of other tools that come in handy when creating a CI environment.