Problem with Visual C# 2010 Express

Occasionally Avast thinks my code writing is a security risk and starts interfering with some part of the compile process. Very annoying. Isn’t there a simple dialog asking if you want this annoyance to continue? yes/no. As far as I can tell I am suppose to tell avast what to ignore. I mean, really?