Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Shada 55 posts 137 karma points
    Oct 14, 2015 @ 11:00
    Shada
    0

    Update umbraco from 7.2.8 to 7.3.0 with Nuget

    I try update umbraco from 7.2.8 to 7.3.0 with Nuget in my project. When the upgrade process is complete I try to run my project, but get an error:

    Could not load file or assembly 'System.Web.Mvc, Version=5.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)

    Edit:

    I try changed my web.config:

      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.0.1" newVersion="4.0.0.1" />
      </dependentAssembly>
    

    to

      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
      </dependentAssembly>
    

    Then I running my site and got on a page update umbraco. After update, I tried to enter my username, but received a new error enter image description here

    And running my site through iis became very slow. Up to 2 minutes per page load.

  • Craig100 1136 posts 2523 karma points c-trib
    Oct 14, 2015 @ 11:13
    Craig100
    0

    Hi Shada,

    Did you use VS2015 for the upgrade? If you didn't, it needs to be to get the MVC5 support.

    HTH

    Craig

  • Shada 55 posts 137 karma points
    Oct 14, 2015 @ 11:17
    Shada
    0

    Now I'm using VS2012 with support MVC5. I also tried to update through VS2015 and got there the same error.

  • Ben McKean 272 posts 549 karma points
    Dec 15, 2015 @ 11:30
    Ben McKean
    0

    did you get a fix for this? I'm having similar issue

  • Craig100 1136 posts 2523 karma points c-trib
    Dec 15, 2015 @ 11:53
    Craig100
    0

    You could install VS2015 Community Edition for free then update ;(

  • Ben McKean 272 posts 549 karma points
    Dec 15, 2015 @ 11:57
    Ben McKean
    0

    I'm already on VS2015.

    I found the solution for me. I think the issue was that another reference in my solution was dependent on MVC 5. I updated all packages I had installed from Nuget and the error went away.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies