Getting Exception in MVC web apps after installing VS2015 RRS feed

  • Question

  • User-147238865 posted


    Everyone i install VS2015 in my system and open my old project which i developed using VS2013Web after the project is opened

    i make build for that project and when build is successful then i started running of my application ; at the time of running i am getting an exception

    in my browser window is that :-

    "Could not load file or assembly 'System.Web.Mvc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"

    and i google this error but did not getting any valid solution and one thing more is that after this also when i opening that same project in VS2013Web their also getting same exception; but before the installation of VS2015 my project running well in VS2013Web.

    So can anybody help me regarding this how to solve this issue.

    Thanks in advance.

    Thursday, August 27, 2015 3:39 AM


  • User1992938117 posted

    Try to remove MVC dll reference and then ad it again.

    You can install latest MVC dll using Nuget package manager

    PM> Install-Package Microsoft.AspNet.Mvc -Version 5.2.3 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, August 27, 2015 4:57 AM