Few days back while compiling our project we are getting the below error.We spend a long time to resolve the issue and finally got the solution..
Assembly 'System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
uses 'System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
which has a higher version than referenced assembly 'System.Web.WebPages, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35'
c:\inetpub\wwwroot\WebsiteSiteCM\Website\bin\System.Web.Mvc.dll website.Retail.Web
You may also try to reinstall Microsoft.AspNet.WebPages nuget packages using this command in the package manager console> Update-Package –reinstall Microsoft.AspNet.WebPages
No comments:
Post a Comment