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.
You can suppress violations in code using a preprocessor directive, the #pragma warning (C#) or Disable (Visual Basic) directive to suppress the warning for only a specific line of code. Or, you can use the SuppressMessage attribute.
To display the Error List, choose View > Error List, or press Ctrl+\+E.
In the Suppress warnings box, specify the error codes of the warnings that you want to suppress, separated by semicolons. Rebuild the solution. Use the Configuration Properties property page to suppress specific warnings for C++ projects. In Solution Explorer, choose the project or source file in which you want to suppress warnings.
In the Disable Specific Warnings box, specify the error codes of the warnings that you want to suppress, separated by a semicolon. In the Disable Specific Warnings box, choose Edit to display more options. Choose the OK button, and then rebuild the solution. Suppress warnings for Visual Basic
In other words, the BizTalk menu appears when you try to edit a schema or a map or an orchestration. You might be able to access Orchestration Designer, BizTalk Editor, and BizTalk Mapper from other project systems in Visual Studio; however, the behavior of these BizTalk tools might be unpredictable.
The BizTalk project system supports the Debug menu commands. For information about debugging in BizTalk Server, see Debugging Orchestrations. When you work with a project, the BizTalk menu appears when you open the BizTalk Editor or the BizTalk Mapper or the BizTalk Orchestration Designer.
I don't believe there's a way to suppress these for BizTalk projects. BizTalk gurus just learn to ignore them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With