Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Nuget package reinstall issues

Nuget package reinstall issues

Hans Kloppenborg
Reply

Hiya,

Lately we seem to get more issues installing DW updates using the "Manage NuGet Packages" menu option from Visual Studio. For example the update from 9.5.5 to 9.6.15 would not work at all, with continous dependency issues that seemed unsolvable.

So today I though to use another solution, I downloaded the 9.6.15 zipfile, extracted the packages.config file, merged all updates into the packages.config for our solution, deleted the admin folder and everything in the packages folder. Next I went to the Package manager console, set the correct default project and executed the command "Update-Package -reinstall" so that the packaged would be installed and the references to them added.

You can imagine my surprise when I got an "One or more unresolved package dependency constraints detected in the existing packages.config file. All dependency constraints must be resolved to add or update packages. If these packages are being updated this message may be ignored, if not the following error(s) may be blocking the current package operation: 'Dynamicweb.DataIntegration 2.1.1 constraint: Dynamicweb.Caching (>= 2.2.0)'
Update-Package : Unable to resolve dependencies. 'Dynamicweb.Caching 2.1.0' is not compatible with 'Dynamicweb.DataIntegration 2.1.1 constraint: Dynamicweb.Caching (>= 2.2.0)'.
" error message. 

I double checked the packages.config file in the zipfile, but they had the same versions. Manually changing the version number to 2.2.0 for Dynamicweb.Caching in the packages.config file solved the problem.

Sadly I then had to regulary allow the overwrite of "Readme.txt" which seems to be in 10% of the packages and put in the same spot.

Could you check if the version in the packages.config file is incorrect?

And could you maybe do something about all the readme.txt files that get placed in the same location?

Greets Hans


Replies

 

You must be logged in to post in the forum