私はASP.NET MVC Monoでアプリケーションを開発しようとしています。
MonoとMonodevelopの最新バージョンがインストールされています。デフォルトの「ASP.NET MVC on Monoへようこそ!」を実行しようとしています。アプリ私は次のエラーを取得:Monoを使用したASP.NET MVC
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 34: Line 35: Line 36: Line 37: Line 38:
Source File: C:\Users\Sergey\Desktop\mvc\mvc\web.config Line: 36
Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
がCからSystem.Web.Mvc.dllを入れてみました:\プログラムファイル\モノ-2.10.6 \ libに\ビン\ 2.0 \モノラル - アプリはまだdoesnの「Tは、私はちょうど
The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
代わりの
The system cannot find the file specified.
私は何をすべきを取得し、実行しますか?
P.S.私のOSはWindows 7です。
コピー後にmono(.NETではなく)で実行してみてください。 MonoDevelopはデフォルトで.netで動作します。 –
それは働いた!どうもありがとう!これを回答として投稿して、受け入れ可能とマークしてください。 – Sergey