Updated Razor engine to use right code generator
Merge pull request #990 from thecodejunkie/razorcodegeneratorbug

Updated Razor engine to use right code generator