Try our conversational search powered by Generative AI!

Episerver.Forms.Core should have dependency to CMS.UI.Core only

Found in

EPiServer.Forms 4.4.0

Fixed in

EPiServer.Forms 4.4.1

(Or a related package)

Created

Feb 08, 2017

Updated

Feb 21, 2017

Area

Core

State

Closed, Fixed and tested


Description

Forms.Core depends on EPiServer.CMS.UI
A developer installs Episerver.Forms.Core and expects to just get the core files. But since this package has a dependency on Episerver.CMS.UI, the developer also gets all frontend files for CMS in the class libraries.

Why must Forms.Core depend on CMS.UI?

  • If part of Forms.Core needs classes in CMS.UI, it should be moved to the Forms.UI.
  • It's pointless to split the Forms package into a Core and a UI package.
  • We usually keep logic and domain-specific code in separate class libraries.