Hello,

this should be a False Positive when it is .NET 4

You can report it to virus@avast.com and explain the issue.

This is only a Temp File, Can you upload it to virustotal.com and post the link here please.

And make sure that this is .NET 4