title: Precompile ASP.NET MVC Project in Azure (not with Web Deploy)
body: <p>I would like to precompile an ASP.NET MVC 4 site, but within an Azure Web Role. It's particularly nice how this catches cshtml view errors.</p>
  
  <p>This is easily done with Web Deploy, by just checking a couple of appropriate boxes in the Publish -> File Publish Options.</p>
  
  <p>But when you have more than 1 instance of a WebRole, you won't be using Web Deploy. And I don't see any options within the Project settings (in the Build or Package/Publish Web tabs) to specify these precompilation build options. </p>
  
  <p><strong>Is there a way I can specify precompile options at the project level somehow?</strong> I'm not keen either on any options that would require having to leave the workflow of being able to publish to Azure with the simple (but slow) "Publish to Windows Azure" option (i.e. I am not interested in having to somehow manually upload the azure cloud package, not at all). </p>