Suppress Database Project errors and warnings in visual studio 2010

Sumit picture Sumit · Apr 16, 2011 · Viewed 34.6k times · Source

I have an Database project in my application and want to suppress the errors/warnings thrown by this project. .first of all is it possible ?

I think I was not clear with my question, by suppressing I meant that when I build my Solution, the errors(which actually are not errors) are shown in the error list, I just want that all Database project related errors should not be shown in the error list.

I am using VS2010.

thanks in advance

Answer

Rushui Guan picture Rushui Guan · Aug 9, 2012

To surppress a specific warning, go to project properties -> Build.

Type in the warning numbers (i.e. without 'SQL') in comma delimited format in field "Suppress Transact-SQL warnings:".