DotNetOpenAuth causing a can not load Assembly System.Web.WebPages.Razor
问题 My local version of my code runs just fine. But when I do a web deploy I am getting the following exception: Could not load file or assembly 'System.Web.WebPages.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) The relevant stack trace line is [FileLoadException: Could not load file or assembly 'System.Web.WebPages.Razor,