MVC2로 작성된 이전 프로젝트를 시작했습니다 ...ASP MVC3에 Webmatrix가 필요합니까?
프런트 엔드의 소량 만 시작되었으므로 MVC3 및 Razor 뷰 엔진을 사용하기로 결정했습니다. 나는 간단한 컨트롤러와 뷰를 생성하고 카시니 내 사이트를 보려면 갔다 그러나 그것은 단지 나에게 말하고 유지 :
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'WebMatrix' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 22: using System.Web.WebPages;
Line 23: using System.Web.WebPages.Html;
Line 24: using WebMatrix.Data;
Line 25: using WebMatrix.WebData;
Line 26:
Source File: c:\Users\XXXXXX\AppData\Local\Temp\Temporary ASP.NET Files\root\ecf08653\deea7194\App_Web_index.cshtml.e70a5900.x4np9ici.0.cs Line: 24
을 지금까지 알고 WebMatrix 그냥 IIS/SQL Server의 번들 및 메신저 다른 gubbins입니다 메신저로 MVC3 설치 프로그램에 번들로 제공되지 않은 경우 WebMatrix를 명시 적으로 설치하지 않은 경우에도 내 하드 디스크에서 찾을 수 없습니다.
필자는 필자의 프로젝트를 통해 필자가 WebMatrix를 찾을 수있는 모든 흔적을 제거하고 ASP 임시 파일을 지웠다. 그러나 MVC가 웹 매트릭스 기능에 의존하는지 궁금해하고있다.
그래. Mvc3 RC1 w/o webmatrix 사용. –