Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback. 

Update dependency for Forms Service API

Found in

EPiServer.Forms.ServiceApi 3.5.0

Fixed in

EPiServer.Forms.ServiceApi 4.0.0

(Or a related package)

Created

May 05, 2021

Updated

Jun 29, 2021

Area

Core

State

Closed, Fixed and tested


Description

Try to install following NuGet packages in a same project:

  • EPiServer.ContentDeliveryApi.Search
  • EPiServer.Forms.ServiceApi

The issue is that both has a dependency of another NuGet package (Microsoft.AspNet.OData) but to different versions. EPiServer.ContentDeliveryApi.Search needs Microsoft.AspNet.OData between 6.0.0 - 7.0.0, whereas EPiServer.Forms.ServiceApi needs Microsoft.AspNet.OData between 5.6.0 - 6.0.0, making it almost impossible to install both NuGet packages in same project.