ASP.NET MVC 3测试版和RC之间的TagBuilder类发生了什么?
当编译我的项目时,我得到的错误:
The type name ‘TagBuilder’ could not be found. This type has been forwarded to assembly ‘System.Web.WebPages,Version=1.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35’. Consider adding a reference to that assembly.
解决方法
在我安装RC,那个程序集就在这里:
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies\System.Web.WebPages.dll