在Visual Studio 2010中抑制数据库项目错误和警告 [英] 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.
我正在使用VS2010。
I am using VS2010.
预先感谢
推荐答案
要取消特定警告,请转到项目属性-> Build。
To surppress a specific warning, go to project properties -> Build.
在禁止Transact-SQL警告:字段中以逗号分隔的格式输入警告编号。
Type in the warning numbers in comma delimited format in field "Suppress Transact-SQL warnings:".
这篇关于在Visual Studio 2010中抑制数据库项目错误和警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!