I can turn on warnings as errors and exclude certain warnings for all the projects in my solution except for a website (not web application).

Is there anyway to turn on 'warnings as errors' as errors for websites and is there anyway to turn off certain errors for the whole website or sub folders?

**Update** I'm using ASP.Net with C#