RazorGenerator.MsBuild + ActionMailer

Aug 19, 2013 at 12:44 PM
I use ActionMailer to send e-mails and RazorGenerator.MSBuild to compile my views

But the email format is quite strange, see image.
Email format

I'm assuming the RazorGenerator modified the output of html once I set it compile all .cshtml in my .csproj

How can I ignore files .cshtml with ActionMailer uses?

I tried to add @* Generator: MvcHelper *@ but did not work