After upgrading to VS2010 from VS2008, my ASP.NET MVC 2.0 application (v3.5 framework)(manually converted from 1.0) views generate an error for each <%= Html. ..%> directive (the error message is the question title). The errors are shown in the 'error list' view when viewing a page/aspx or control/ascx document in the IDE.
When the application is run, the runtime correctly compiles the pages/controls and the application runs without any compiler complaints.
Any help with this annoyance would be greatly appreciated!