How to suppress BEC build schema warnings?

We need to suppress a number of BEC2004 and BEC1007 schema warnings from our build. Is this possible?

BEC warnings

I'm not talk about fixing the schemas not to produce the warnings. I'd like to know who these warnings can be suppressed so that they do not appear in our build.

Thanks

Michael Brandt Lassen

February 25th, 2015 9:04am

Hi Michael,

You should refer to the link below.

How to: Suppress One or More Types of Warnings

Use the Suppress Warnings property, type the list of warning numbers that you want to suppress, and delimit them with commas or semi-colons.

Rachit

Free Windows Admin Tool Kit Click here and download it now
February 25th, 2015 9:11am

Hi Michael,

  1. Select the Project in Visual Studio
  2. Go to its properties
  3. Select "Build" tab
  4. And set the "Warning Level" to "0" - Default is 4 which is "Displays all level 3 warnings plus informational warnings"

Read the following article on warning levels and its meanings.

https://msdn.microsoft.com/en-us/library/13b90fz7%28VS.71%29.aspx

Another options as Rachit suggested where you have to specify the list of warnings you want to suppress. Above method supress all the warnings.

Regards,

M.R.Ashwin Prabhu

February 25th, 2015 9:45am

Hi Rachit

This doesn't work for BizTalk Schema warnings like BEC2004 and BEC1007 :-(

Your link is to some old database project type.

Thanks

Michael

Free Windows Admin Tool Kit Click here and download it now
February 25th, 2015 9:46am

Hi Prabhu

Thanks for your answer.

I'd like to suppress some explicit warnings, but not all.

Unfortunately Rachit's suggestion doen't work with BizTalk Schema warnings like BEC2004 and BEC1007 .

Thanks

Michael

February 25th, 2015 9:49am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics