title: Type 'ASP._Page__ViewStart_cshtml' does not inherit from 'System.Web.WebPages.StartPage'
body: <p>I am getting this error after i published my site into remote server.</p>
  
  <blockquote>
    <p>Type 'ASP._Page__ViewStart_cshtml' does not inherit from
    'System.Web.WebPages.StartPage'.</p>
  </blockquote>
  
  <p>It works fine on the local server. I havent moved any views or viewstart pages </p>
  
  <p>It used to work fine in the remote server as well, but after the i made some updates and pushed the new code to the server i am getting this error. </p>
  
  <p>I have made changes to the code but nothing to web.config or any viewstart page. </p>
  
  <p>I also have <code>&lt;add key="webpages:Enabled" value="false" /&gt;</code> in my web.config.</p>
  
  <p>I had created new controller,views  using the entity framework, but no changes to viewstart files. Is the anything else that i need to look into?</p>
  
  <p>Update: I had installed nuget package </p>
  
  <blockquote>
    <p>MvcCheckBoxList 1.4.4.5</p>
  </blockquote>
  
  <p>But i have unistalled it .. still getting the error</p>