Attempt to solve: Could not load type 'xxx.MvcApplication'

To resolve issue discussed in

http://haacked.com/archive/2011/05/09/compiling-mvc-views-in-a-build-environment.aspx