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 are related to each other and are released 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 is part of the same family, and they depend (indirectly and directly) on the EPiServer.Framework package.
When Optimizely releases a package family version, release notes and bug fixes are documented with the family's name and not the individual packages. This means that the feature or fix you are looking for may be in any package in the family, and you should update them together to get the benefits. Usually, this only requires updating one or a few top-level dependencies, like the EPiServer.CMS package and the rest resolve automatically. If you run into issues with dependency conflicts, read more in this article.
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 a list of the packages that belong to the 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 about 1 month ago
