當我在Visual Studio中啓動ASP.NET MVC項目,我得到這個錯誤:文件未發現異常的MVC項目的引用
File not found exception wasn't handled in the user code An exception of type 'System.IO.FileNotFoundException' occurred in
System.Web.Mvc.dll but was not handled in user codeAdditional information: Could not load file or assembly 'System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
檢查如果System.Web.Razor存在於你的'References'文件夾中,並且它存在,檢查版本是否爲'2.0.0.0' –
非常感謝! – Svetoslav
它存在。仍然錯誤。 – AgentFire