title: "@Model", "@Viewbag" and "@Url" "does not exist in the current context" Razor MVC3 when using Visual Studio 11 Beta/Visual Studio 2012 RC
body: <p>I've created an MVC3 application in Visual Studio 10.  When editing views the "@Model", "@Viewbag" and "@Url" all appear valid.</p>
  
  <p>I recently installed Visual Studio 11 Beta and when editing (or creating) views I get "x does not exist in current context" error for the above keywords and obviously no intelli-sense.</p>
  
  <p>I have since installed Visual Studio 2012 RC hoping it was just a Visual Studio 11 Beta issue.... it wasn't.
  Since running it in Visual Studio 2012 RC I've noticed the "@Html" key word exists however however the the intelli-sense list is limited - anything relating to the Model (eg "@Html.EditorFor()") and anything in the "Render" family is missing.</p>
  
  <p>If I run the project everything is fine.</p>
  
  <p>Now if I create a new project within Visual Studio 11 Beta/2012 RC all keywords are recognised.  </p>
  
  <p>Is there something I need to edit in my project files to get it to work correctly?</p>
  
  <p><strong>Edit - More of an answer, copied from my comment below</strong>
  For people upgrading to VS 2015, it doesn't support MVC 4 you need to upgrade the project to MVC5. See - <a href="http://www.asp.net/mvc/overview/releases/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2" rel="nofollow">http://www.asp.net/mvc/overview/releases/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2</a></p>