U4-6762 - 7.3 beta: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0

Created by Sebastiaan Janssen 26 Jun 2015, 11:32:33 Updated by Sebastiaan Janssen 20 Jul 2015, 09:30:52

On machines where 4.0.0.0 is not installed in GAC you get the following error:

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

This because we ship with 4.0.0.1 but the web.config redirects to 4.0.0.0, need to adjust that.

Comments

Shannon Deminick 02 Jul 2015, 14:44:38

Is this actually still an issue or is this an issue from when it was first attempted? It should absolutely definitely work and I've tested on a VM that didn't have it in the GAC (can test again though)


Jonas Boye 20 Jul 2015, 08:52:10

@Shandem Yeah, it just got it again when installing a new UmbracoCms.7.3.0-beta2-nightly216

I works when i change MVC version from 4.0.0.0 to 4.0.0.1

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


Shannon Deminick 20 Jul 2015, 08:58:59

yeah, it's definitely supposed to be :

We'll get the default redirects updated.


Sebastiaan Janssen 20 Jul 2015, 09:30:51

Commit made by '''Sebastiaan Janssen''' on ''2015-07-20T11:30:04+02:00'' https://github.com/umbraco/Umbraco-CMS/commit/ea653cbd18f110d0efb9e1761713c6512d55dbfe

U4-6762 7.3 beta: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0

#U4-6762 Fixed


Sebastiaan Janssen 20 Jul 2015, 09:30:52

Commit made by '''Sebastiaan Janssen''' on ''2015-07-20T11:30:41+02:00'' https://github.com/umbraco/Umbraco-CMS/commit/3c884b583ebdabc8737d6c86daabc3b728876a3e

U4-6762 7.3 beta: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0

#U4-6762 Fixed


Priority: Normal

Type: Bug

State: Fixed

Assignee: Sebastiaan Janssen

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.3.0

Due in version: 7.3.0

Sprint:

Story Points:

Cycle: