Try our conversational search powered by Generative AI!

Update dependency for Forms Service API

Found in

EPiServer.Forms.ServiceApi 3.5.0

Fixed in

EPiServer.Forms.ServiceApi 4.0.0

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.