Search code examples
databasevisual-studio-2010suppress-warnings

Suppress Database Project errors and warnings in visual studio 2010


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


Solution

  • 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:".