2009-10-25 23 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有同樣的問題並忘記檢查。