我已经出现在我的Visual Studio错误列表如下,颇为愤怒,警告:的Visual Studio - 禁止的web.config警告
The element 'behavior' has invalid child element 'silverlightFaults'. List of possible elements expected: 'clientVia, callbackDebug, callbackTimeouts, clear, clientCredentials, transactedBatching, dataContractSerializer, dispatcherSynchronization, remove, synchronousReceive, enableWebScript, webHttp, endpointDiscovery, soapProcessing'.
它的web.config起源。该应用程序编译好,我只是想压制错误。
什么不起作用:
- 右键单击>禁止(这不是一个FxCop的错误)
- 在构建窗口定位的警告标识,并通过项目属性对话框supressing它(警告不在构建窗口中显示)。
有没有办法隐藏这个警告,还是我必须忍受它?