Breaking changes in Commerce 10
This topic describes breaking changes for Episerver Commerce in relation to the previous major version (9), and the steps needed to update affected code. To view the complete list of changes, see release notes.
Some changes are binary breaking but do not necessarily require code changes but rather just a recompilation of the project. Breaking changes are changes in method signatures or behavior of methods compared to the documented API in the previous version. These APIs are described below.
Types removed from public API
The following types, intended for internal use in the Episerver Commerce UI, are removed from the public API:
Since these types were never intended to be exposed and used directly in implementations, no replacements exist.
EPiServer.Shell moved to EPiServer.CMS.UI.Core
In CMS 10, EPiServer.Shell.dll was moved from NuGet package EPiServer.Framework to EPiServer.CMS.UI.Core (see CMS-1380). This might affect Commerce Manager sites where EPiServer.CMS.UI.Core is not installed.
If you get an error message saying Value cannot be null.Parameter name: virtualPath]in EPiServer.Shell.ShellInitialization.WaitForInitializeModules()..., remove the EPiServer.Shell.dll from the site bin folder.
If you have both EPiServer.Framework to EPiServer.CMS.UI.Core installed, no change is required.