Resolve NuGet dependency conflicts
Describes why package dependencies can create compatibility issues and how to work around those issues in the Project SDK (PackageReference) model.
Package families are groups of Optimizely NuGet packages that relate to each other and release together. They share the same version number and depend strictly on other packages within the same family. For example, the EPiServer.CMS.AspNetCore.HtmlHelpers package and the EPiServer.CMS.Core package are part of the same family, and they depend directly and indirectly on the EPiServer.Framework package.
When Optimizely releases a package family version, release notes and bug fixes are documented with the family name, not individual packages. The feature or fix you need could be in any package in the family, so update them together. Typically, updating one or a few top-level dependencies, such as the EPiServer.CMS package, resolves the rest automatically. If you encounter dependency conflicts, see the sections below.
NoteSee also: NuGet package families in CMS.
The following sections show package families as they are named in the release notes and bug list, with the packages that belong to each family.
EPiServer.CMS.Core
These packages are for Optimizely Content Management System (CMS).
EPiServer.CMS.AspNetCoreEPiServer.CMS.AspNetCore.HtmlHelpersEPiServer.CMS.AspNetCore.MvcEPiServer.CMS.AspNetCore.RoutingEPiServer.CMS.AspNetCore.TagHelpersEPiServer.CMS.CoreEPiServer.FrameworkEPiServer.Framework.AspNetCoreEPiServer.Hosting
EPiServer.CMS.UI
These packages are for Optimizely Content Management System (CMS).
EPiServer.CMS.UIEPiServer.CMS.UI.AdminEPiServer.CMS.UI.AspNetIdentityEPiServer.CMS.UI.CoreEPiServer.CMS.UI.SettingsEPiServer.CMS.UI.SourcesEPiServer.CMS.UI.VisitorGroups
EPiServer.Commerce
These packages are for Optimizely Commerce Connect.
EPiServer.CommerceEPiServer.Commerce.CoreEPiServer.Commerce.UIEPiServer.Commerce.UI.AdminEPiServer.Commerce.UI.CustomerServiceEPiServer.Personaliztion.Commerce
(This is listed underEPiServer.Commercerelease but follows a separate major version cadence.)EPiServer.Tracking.Commerce
(This is listed underEPiServer.Commercerelease but follows a separate major version cadence.)
EPiServer.Find
These packages are for Optimizely Search & Navigation.
EPiServer.FindEPiServer.Find.BlocksEPiServer.Find.CmsEPiServer.Find.Cms.AttachmentFilterEPiServer.Find.FrameworkEPiServer.Find.Personalization
Note
EPiServer.Find.Commerceis released and versioned separately.
EPiServer.ContentDeliveryApi and EPiServer.ContentManagementApi
These packages are for the Optimizely Content Management System (CMS) application programming interface (API).
EPiServer.ContentDeliveryApi.CmsEPiServer.ContentDeliveryApi.CommerceEPiServer.ContentDeliveryApi.CoreEPiServer.ContentDeliveryApi.FormsEPiServer.ContentDeliveryApi.SearchEPiServer.ContentDeliveryApi.Search.CommerceEPiServer.ContentManagementApi
Updated 20 days ago
