We're getting problems with the latest version of LocalGov starter kit on a hosted environment (Umbraco 7.2.6). We get the following error message:
Could not load file or assembly 'System.Web.WebPages.Razor, Version=3.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)
In the Views folder, the web.config uses MVC 5.2.3 (I believe our hosted site has MVC 4.0.0).
I'm guessing I need to wind back to the last version of LocalGov that uses MVC 4? Anyone know what version that is?
Our Host Doesn't Support MVC 5 in Latest LocalGov
Hi all,
We're getting problems with the latest version of LocalGov starter kit on a hosted environment (Umbraco 7.2.6). We get the following error message:
Could not load file or assembly 'System.Web.WebPages.Razor, Version=3.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)
In the Views folder, the web.config uses MVC 5.2.3 (I believe our hosted site has MVC 4.0.0).
I'm guessing I need to wind back to the last version of LocalGov that uses MVC 4? Anyone know what version that is?
Thanks in advance
George
There's nothing like answering your own question!
LocalGov 5.0 uses MVC 4!
Hope this helps someone with the same problem :-)
Hi,
you could try an older version of the starter kit. the latest on (v5.1) is built against umbraco 7.3 which is MVC5.
However v5.0beta was build against 7.2.x so that might work. or failing that v4.0 should work fine.
Kevin
yeah and nothing like not reading the answers to your questions : )
as you say 5.0 is fine :)
is working on a reply...