I'm using the code analyser in Visual Studio 2010 to try to improve my code. One thing it's complaining about is that I'm catching exceptions of type Exception. It says I shouldn't do that because it can hide problems from the user of my library and can complicate debugging. However, I'm not writing a library I'm writing a web app.
Alternatively, is there a way to set a flag or something to tell the code analyzer that this isn't a library and that this top level code and to not show this error instead of clicking suppress error for each one?