I have an umbraco 7.2.8 site in Visual Studio 2015.
The source is in TFS.
I have tried to update to 7.3.5 using nuget in package manager console:
pm> Update-Package UmbracoCms
It goes through the update process without errors.
However, when I build & run the site I get the following error:
Could not load file or assembly 'System.Net.Http.Formatting' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I've tried this update from 2 different PCs and get the same result.
Yes, it will be the issue in web.config section.
At the time of updating it will prompt for updating the web.config file and you may said no or may be other than that.
I also got the same issue while updating the umbraco. I have also set thid manually.
I will check tonight but I think the web.config had those settings. However, when I built the web site I noticed the version of System.Net.Http.Formatting.dll in the bin folder was v4.0.x
first rolling all changes to the state before I attempted to update
using NuGet package manager to update the Microsoft.AspNet.* packages to latest version (I think there were 5 packages in total)
made sure this built & I could run the web site & checked the dll versions in the bin folder were as expected
used NuGet package manager console to update Umbraco to 7.3.5
I built the solution but got error when running the site so I had to edit web.config & edit the binding redirect for System.Web.WebPages to redirect to version 3.
Updating Umbraco from 7.2.8 to 7.3.5
Hi,
I have an umbraco 7.2.8 site in Visual Studio 2015.
The source is in TFS.
I have tried to update to 7.3.5 using nuget in package manager console:
pm> Update-Package UmbracoCms
It goes through the update process without errors.
However, when I build & run the site I get the following error:
Could not load file or assembly 'System.Net.Http.Formatting' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I've tried this update from 2 different PCs and get the same result.
How can I fix this?
Cheers Joe
Hi Had the same issue because my web.config was not properly updated - I did it manually
this is what has to be in it
/Paul S
Hi,
Yes, it will be the issue in web.config section. At the time of updating it will prompt for updating the web.config file and you may said no or may be other than that.
I also got the same issue while updating the umbraco. I have also set thid manually.
Just do like that:
It really works. I hope you will get your answer.
Thanks for replies Paul & Nikhil.
I will check tonight but I think the web.config had those settings. However, when I built the web site I noticed the version of System.Net.Http.Formatting.dll in the bin folder was v4.0.x
Will post later with confirmation.
Cheers Joe
Hi everyone,
I finally fixed this issue by first:
Hi Joe,
I had the same problem doing the same upgrade, this was how I managed to fix it without messing around myself with the web config file..
I fixed it by running the following two commands in the Package Manager Console in Visual Studio.
1) This will remove the WebApi nuget package but leave all of it's dependencies and anything that depends on it.
2) Re-install the package
By re-installing the package it fixed the issue I had in web config and it all burst into life.
is working on a reply...