title: Razor View throwing "The name 'model' does not exist in the current context"
body: <p>After significant refactoring in my MVC 4 application, and Razor shows this error while debugging Views:</p>
  
  <blockquote>
    <p>The name 'model' does not exist in the current context.</p>
  </blockquote>
  
  <p>This is the offending line of code:</p>
  
  <pre><code>@model ICollection&lt;DataSourceByActive&gt;
  </code></pre>
  
  <p>I know that the usage of <code>@model</code> is correct.</p>
  
  <p>Why is this happening? How can I fix it?</p>