1 Followers
26 Following
hailstorm82

hailstorm82

SPOILER ALERT!

About the server deployment Technique.Web.Pages.Razor method can not discover the file. Txt

free recovery software for pen drive for the issue: Couldnotloadfileorassembly'System.Web.WebPages.Razor,Version=2.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35'oroneofitsdependencies

This difficulty has no dilemma in regional deployment, and Razor is incorporated in WebPages, which could be accessed locally. pendrive se deleted data recovery software happens when the release version is deployed around the server. Immediately after searching in Baidu to get a long time, I finally located the problem of downloading the MVC version from Nuget

This machine uses the version of nuget3.four, the downloaded MVC is version 5.2.three. Just after uninstalling FQ (installation needs FQ), set up PMInstall-PackageMicrosoft.AspNet.Mvc-Version4.0.30506 within the package management console in VS and deploy again soon after the installation is total, the issue is solved

This issue record to help friends who encounter related complications with this difficulty present inspiration



Reference hyperlink: http://stackoverflow.com/questions/11000506/could-not-load-file-or-assembly-system-web-webpages-razor-version-2-0-0-0