title: Compilation error with missing Microsoft.WindowsAzure.ServiceRuntime.RoleEntryPoint
body: <p>I am trying to extend the default webrole template. I have added a new entity model and created a skeleton framework for it. When the loading of the index page is attempted, a server error is displayed.</p>
  
  <p>"The type 'Microsoft.WindowsAzure.ServiceRuntime.RoleEntryPoint' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.WindowsAzure.ServiceRuntime, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'."</p>
  
  <p>I have double checked that the WebRole includes this reference and it does. I can fix this error by setting this reference Copy Local property to true.</p>
  
  <p>If I do this, the error changes to "The type name 'Models' does not exist in the type 'WebRole.WebRole'"</p>
  
  <p>Both errors are thrown from the Index.cshtml file, specificially on the line:</p>
  
  <p>public class _Page_Views_BankAccount_Index_cshtml : <code>System.Web.Mvc.WebViewPage&lt;IEnumerable&lt;WebRole.Models.BankAccount&gt;&gt; {</code></p>
  
  <p>What is causing this?</p>