razor intellisense not working on VS2010 for microsoft.web.helpers

Posted by pomarc on Stack Overflow See other posts from Stack Overflow or by pomarc
Published on 2011-06-20T11:36:19Z Indexed on 2012/06/13 10:40 UTC
Read the original article Hit count: 308

I have VS2010 Premium,.NET4.0, MVC3 Tools Update.

I've nugetted microsoft-web-helpers successfully.

I cannot get @razor intellisense to recognize the microsoft.web.helpers classes.

They do work correctely at runtime, i.e. @Twitter.profile shows a profile, but at design time the statent is seen as an error and no members are shown after "."

I've tried to add

<add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

to the

  <assemblies>

element in web.config, but it didn't help.

Any idea? thanks.

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about asp.net-mvc-3