In Explorer open folder where your project resides. Open packages.config using Notepad. Find and remove the line that mentions corrupted package name.
Open folder where your solution resides. Open subfolder "packages". Find the folder with the corrupted package and remove it.
Note: If you delete the wrong package, just enable NuGet to restore in Visual studio "Options", and while enabled, right-click solution and select "Restore missing NuGet packages"
Right-click solution and select "Restore missing NuGet packages"
It was a problem Newtonsoft and System.Threading.Tasks.Dataflow. Once I removed those from packages.config it worked. However I'm not not able to upgrade to 7.6.1 because I get the following in VS!
Looks like it was Umbraco Core Property Value Converters that was holding it back. I removed that and it worked. I presume its because this is now in the core.....
I am experiencing a related issue when trying to update Umbraco to 7.6.4
Just Simply trying to update UmbracoCMS via nuget and is not allowing me because of this error.
An error occurred while retrieving package metadata for 'Newtonsoft.Json.10.0.2'
I tried to follow the above steps to solve this problem.. but first of all, I do not have any corrupted files in the packages.config.. and I also I tried to remove the mentioned packages that Ben mentioned and again, no success.
I would appreciate a lot any kind of help / suggestments how I can actually update my Umbraco without these issues.
Umbraco 7.6 upgrade, getting error updating other nuget package
Hi All,
i've upgraded my umbraco from 7.5.3 to the latest 7.6,
everything seems to be loading alright. I thought of upgrading some of my nuget packages like Nested Content from 0.3.0 to 0.4.0 but got the below
Any idea how i can resolve this?
Hi JLon,
Try to do these steps:
In Explorer open folder where your project resides. Open packages.config using Notepad. Find and remove the line that mentions corrupted package name.
Open folder where your solution resides. Open subfolder "packages". Find the folder with the corrupted package and remove it. Note: If you delete the wrong package, just enable NuGet to restore in Visual studio "Options", and while enabled, right-click solution and select "Restore missing NuGet packages"
Right-click solution and select "Restore missing NuGet packages"
Thanks,
Alex
It works. Thanks
This didn't work for me unfortunately, seems strange for us to get this after Umbraco upgrade....
I can't upgrade Umbraco or Umbraco Forms whilst I get this message
Hi Ben
Do you have problem only with 'Newtonsoft.Json.10.0.2'?
Hi Alex,
It was a problem Newtonsoft and System.Threading.Tasks.Dataflow. Once I removed those from packages.config it worked. However I'm not not able to upgrade to 7.6.1 because I get the following in VS!
Unable to find a version of 'UmbracoCms.Core' that is compatible with 'Archetype.Binaries 1.13.2 constraint: UmbracoCms.Core (≥ 7.2.2)', 'Codery.TextCount 1.0.8 constraint: UmbracoCms.Core (≥ 7.5.6)', 'Our.Umbraco.CoreValueConverters 3.1.2 constraint: UmbracoCms.Core (≥ 7.4.2 && ≤ 7.6.0)', 'Our.Umbraco.NestedContent 0.4.0 constraint: UmbracoCms.Core (≥ 7.1.4)', 'RJP.UmbracoMultiUrlPicker 2.0.0 constraint: UmbracoCms.Core (≥ 7.6.0 && < 8.0.0)', 'Terratype 1.0.8 constraint: UmbracoCms.Core (≥ 7.0.0)', 'UmbracoCms 7.6.1 constraint: UmbracoCms.Core (= 7.6.1)', 'UmbracoForms.Core 6.0.1 constraint: UmbracoCms.Core (≥ 7.6.0 && < 7.7.0)', 'uSync.Core 5.6.3.740 constraint: UmbracoCms.Core (≥ 7.4.0)'
Looks like it was Umbraco Core Property Value Converters that was holding it back. I removed that and it worked. I presume its because this is now in the core.....
Yes, it's in Core, what if you disable it?
I needed to remove the package from my project for Umbraco to upgrade
Oh yeah i've removed mine after the upgrade too
Hi Guys,
I am experiencing a related issue when trying to update Umbraco to 7.6.4
Just Simply trying to update UmbracoCMS via nuget and is not allowing me because of this error.
I tried to follow the above steps to solve this problem.. but first of all, I do not have any corrupted files in the packages.config.. and I also I tried to remove the mentioned packages that Ben mentioned and again, no success.
I would appreciate a lot any kind of help / suggestments how I can actually update my Umbraco without these issues.
Thank you.
Hi Simon,
Did you try commenting out the Newtonsoft and System.Threading.Tasks.Dataflow lines from packages.config and run the nuget update command again?
Thanks
Ben
Hi Simon
Can you show what do you have in web.config, assemblyBinding section?
Thanks,
Alex
is working on a reply...