我有我的本地機器上創建的Sitefinity網站工作正常。但是,當我上傳到服務器,我得到這個錯誤:Sitefinity上傳到服務器錯誤:無法找到'System.Web.Razor
Could not load file or assembly 'System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
我在bin文件夾中Sytem.Web.Razor,並改變了綁定重定向較新的版本爲2.0.0,但後來我得到的錯誤下面。
Could not load file or assembly 'System.Web.Razor' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
可能重複http://stackoverflow.com/questions/15874366/could-not-load-file-or-assembly-system-web-razor-or-one-its-dependencies) – Stefan