私は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サーバーのバンドルとイムいくつかのその他Gubbinsであるイムとして私は明示的にWebMatrixをインストールしていません(MVC3インストーラー内にバンドルされていない場合でも、それを私のハードディスク上で見つけることはできません)。
私は、WebMatrixが見つかる可能性があるすべてのトレースを削除してASPの一時ファイルをクリアしましたが、不満を抱くので、MVCがいくつかのWebマトリックス機能に依存しているかどうか疑問に思っています。
そうだ。 Mvc3 RC1 w/o webmatrixを使用する。 –