title: Upgraded to MVC 3:  CS0103: The name 'View' does not exist in the current context
body: <p>I have just updated to ASP.NET MVC 3 RC2.  </p>
  
  <p>The sample app I am working on now produces the following error, whenever a cshtml view is rendered:</p>
  
  <p>CS0103: The name 'View' does not exist in the current context</p>
  
  <p>It fails on the line:</p>
  
  <pre><code>@{
     View.Title = "MyView";
  }
  </code></pre>
  
  <p>... and fails anywhere else it encounters View in the code on the Razor file.</p>
  
  <p>I have copied the web.config from a new apps View folder to my sample app, but the problem persists.</p>
  
  <p>A brand new application runs without problems.</p>
  
  <p>I have also rebuilt the solution, run Clean Solution.  No joy.</p>
  
  <p>I haven't worked on the sample for a few days. So it might be an issue that has nothing to do with RC2...</p>