views:

211

answers:

1

I upgraded to MVC2 RTM with VS2010 RC and some of my ViewUserControl and Page controls don't show intellisense for simple things like <%= Html..... %> or <%= Model... %>

+2  A: 

If this is an Area that is having problems then there is probably a missing Web.Config file in the Areas project. Without it Visual Studio thinks you're using a 'traditional' aspx or asmx file.

  • Right click on the MVC project and select 'Add'
  • Choose 'Area' from the dropdown
  • Copy the Web.Config file that was generated into your original Area

It should work now.

Simon_Weaver