如何在 Visual Studio 2005 中抑制单个 BizTalk 警告
我们目前正在使用 BizTalk 2006 R2 来构建企业集成解决方案。 我们广泛使用 BizTalk 地图,但是当您在 Visual Studio 2005 中构建解决方案时,它会针对地图生成以下警告:
警告双击此处可显示/隐藏编译器链接。
在我看来,这些不是真正的警告,可以忽略,但我不喜欢这种策略,因为忽略警告是一个坏习惯。
使用 \nowarn 属性似乎不是一个选项,因为该消息没有关联的号码。
此外,当使用构建脚本构建项目时,警告消失,表明这是 Visual Studio 的一项功能,而不是真正的编译器警告。
所以我想知道是否有办法在 Visual Studio 中抑制此类警告。
We are currently using BizTalk 2006 R2 to build Enterprise Integration solutions. We use BizTalk maps extensively, but when you build a solution in Visual Studio 2005, it produces the following warning against maps:
Warning Double-click here to show/hide compiler links.
In my opinion, these are not real warnings and can be ignored, but I don't like that strategy because ignoring warnings is a bad habit to get into.
Using a \nowarn property does not seem to be an option because the message does not have an associated number.
Also, when the project is built using a build script the warning disappears, suggesting that this is a feature of Visual Studio rather than a real compiler warning.
So I was wondering if there is a way to suppress this type of warning in Visual Studio.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不认为有办法抑制 BizTalk 项目的这些问题。 BizTalk 专家只是学会忽略它们。
I don't believe there's a way to suppress these for BizTalk projects. BizTalk gurus just learn to ignore them.
您可以使用 /nowarn 选项来抑制警告。
请参阅 MSDN:/nowarn(禁止指定警告)(C# 编译器)选项)。
You can use the /nowarn option to suppress warnings.
See MSDN: /nowarn (Suppress Specified Warnings) (C# Compiler Options).