Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Forms 5.1.0 not compatible with cloudplatform.cms 1.0.5

Vote:
0

I'm in the process to update all Episerver packages to the lastest version and noticed that Forms in not yet compatible because of cloudplatform that has a depency to EPiServer.Azure 11.0.1, which itself have a dependeny to System.Configuration.ConfigurationManager >= 6.0.0:

-> EPiServer.CloudPlatform.Cms 1.0.5 -> EPiServer.Azure 11.0.1 -> System.Configuration.ConfigurationManager (>= 6.0.0 && < 7.0.0) 
-> EPiServer.Forms 5.1.0 -> EPiServer.Forms.UI 5.1.0 -> EPiServer.Forms.Core 5.1.0 -> System.Configuration.ConfigurationManager (>= 5.0.0 && < 6.0.0).  

As far as I know there is no way fixing this issue until Forms release an update, or am I wrong? In case of update needed, is there an ETA for the next Forms version?

#279152
Apr 25, 2022 11:19
Vote:
0

"EPiServer.Azure" package is referencing "System.Configuration.ConfigurationManager" starting from v5.0 if your project is targeting .net5.0.

How do you update your packages?

This works like a charm (explicit list just for verbosity):

<PackageReference Include="EPiServer.CMS" Version="12.5.0" />
<PackageReference Include="EPiServer.CMS.Core" Version="12.5.0" />
<PackageReference Include="EPiServer.CMS.AspNetCore" Version="12.5.0" />
<PackageReference Include="EPiServer.CMS.AspNetCore.Templating" Version="12.5.0" />
<PackageReference Include="EPiServer.CMS.AspNetCore.Routing" Version="12.5.0" />
<PackageReference Include="EPiServer.CMS.AspNetCore.Mvc" Version="12.5.0" />
<PackageReference Include="EPiServer.CMS.AspNetCore.HtmlHelpers" Version="12.5.0" />
<PackageReference Include="EPiServer.Forms" Version="5.1.0" />
<PackageReference Include="EPiServer.Hosting" Version="12.5.0" />
<PackageReference Include="EPiServer.Framework" Version="12.5.0" />
#279352
Edited, Apr 27, 2022 20:33
Vote:
0

Yes, sorry, didn't include that my project is targeting .net6.0. 

#279390
Apr 28, 2022 6:57
Vote:
0

Then you have to wait a bit while Forms release compatible version, yes.

#279391
Apr 28, 2022 7:00
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.