Posted on 10/12/2018 12:22:39
Hi Scott,
I assume that you are talking about the Package Manager (Settings > Packages) and not the Deployment Manager (Settings > Developer > Deployment).
You will often see newer versions of packages in the package feed than those included in the downloadable releases. The latest release will not necessarily include all of the latest packages.
The package manager was improved a lot during the first 9.* releases, so the behavior depends on which version you are using.
There will be some issues when trying to update packages on older versions, because we lost some of the old packages at some point. We had issues with the nuget package feed hosted on MyGet and we are looking into hosting all nuget packages on our own server in order to prevent these issues from happening in the future.
It should work on more recent versions though.
I have just tested this and it works fine by doing the following:
1) Install and configure a clean solution based on downloaded zip file, Application(9.5.0).zip
2) Restore packages
- Settings > Packages > Updates
- Click "Restore"
- Packages successfully restored.
3) Update package Dynamicweb.Ecommerce.CheckoutHandlers.PayPalExpressCheckout
- Settings > Packages > Updates > Dynamicweb.Ecommerce.CheckoutHandlers.PayPalExpressCheckout
- Select version 1.0.4
- Click "Update"
- Package successfully updated.
The issues with missing packages can be difficult to overcome. The package manager in Dynamicweb is based on NuGet and it requires that all referenced packages are available in order to get metadata about dependencies before updating to a newer version. You might be able to fix it manually though:
- Update the packages.config file by changing the version number of the package to a version that exists (use a lower version than the one you actually need)
- Settings > Packages > Updates
- Click "Restore"
- Settings > Packages > Updates > {package name}
- Select version
- Click "Update"
For debugging an issue with packages you can set up a project in Visual Studio with the same packages.config and then use the NuGet Package Manager to restore/update.
If you use the following command in package manager console you will get detailed information about any errors that occur:
Update-Package -Reinstall -Debug -Verbose
Best regards,
Morten