2009-10-25 24 views
0

Class AreaRegistration在哪里?**** strong text在MVC 2中找不到Class AreaRegistration? 我已经安装了MVC 2预览版2(已预览1 instlled但未使用)MVC AreaRegistration

using System;使用System.Collections.Generic;使用System.Linq;使用System.Web;使用System.Web.Mvc;

命名空间MvcAreasSingleProject.Areas.Blog { 公共类途径:AreaRegistration

给出使用指令或程序集引用错误(同误差的RegisterRoutes) 哪里类AreaRegistration丢失?

回答

0

再次检查您对system.web.mvc的引用以确保它是2.0.0版我与AreaRegistration有同样的问题并忘记检查。