Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

error: cannot convert from 'EPiServer.Web.Internal.ModelExplorerFactory' to 'Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider'

Vote:
 

Just upgraded following Nuget packages:

EPiServer.CMS.12.15.1 -> EPiServer.CMS.12.17.0

EPiServer.CMS.AspNetCore.12.11.0 -> EPiServer.CMS.AspNetCore.12.13.0

EPiServer.CMS.AspNetCore.HtmlHelpers.12.11.0 -> EPiServer.CMS.AspNetCore.HtmlHelpers.12.13.0

EPiServer.CMS.AspNetCore.Mvc.12.11.0 -> EPiServer.CMS.AspNetCore.Mvc.12.13.0

EPiServer.CMS.AspNetCore.Routing.12.11.0 -> EPiServer.CMS.AspNetCore.Routing.12.13.0

EPiServer.CMS.AspNetCore.Templating.12.11.0 -> EPiServer.CMS.AspNetCore.Templating.12.13.0

EPiServer.CMS.Core.12.11.0 -> EPiServer.CMS.Core.12.13.0

EPiServer.CMS.TinyMce.4.0.0 -> EPiServer.CMS.TinyMce.4.0.2

EPiServer.CMS.UI.12.15.0 -> EPiServer.CMS.UI.12.17.0

EPiServer.CMS.UI.Admin.12.15.0 -> EPiServer.CMS.UI.Admin.12.17.0

EPiServer.CMS.UI.AspNetIdentity.12.15.0 -> EPiServer.CMS.UI.AspNetIdentity.12.17.0

EPiServer.CMS.UI.Core.12.15.0 -> EPiServer.CMS.UI.Core.12.17.0

EPiServer.CMS.UI.Settings.12.15.0 -> EPiServer.CMS.UI.Settings.12.17.0

EPiServer.CMS.UI.Sources.12.15.0 -> EPiServer.CMS.UI.Sources.12.17.0

EPiServer.CMS.UI.VisitorGroups.12.15.0 -> EPiServer.CMS.UI.VisitorGroups.12.17.0

EPiServer.Find.14.2.4 -> EPiServer.Find.15.0.0

EPiServer.Find.Cms.14.2.4 -> EPiServer.Find.Cms.15.0.0

EPiServer.Find.Framework.14.2.4 -> EPiServer.Find.Framework.15.0.0

EPiServer.Framework.12.11.0 -> EPiServer.Framework.12.13.0

EPiServer.Framework.AspNetCore.12.11.0 -> EPiServer.Framework.AspNetCore.12.13.0

EPiServer.Hosting.12.11.0 -> EPiServer.Hosting.12.13.0

Getting error when compiling:

Severity    Code    Description    Project    File    Line    Suppression State
Error    CS1503    Argument 8: cannot convert from 'EPiServer.Web.Internal.ModelExplorerFactory' to 'Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider'    QDX    C:\Users\dsingh\source\repos\QDX\QDX\Business\Rendering\ExtendedContentAreaRenderer.cs    28    N/A

Not able to Build

#297013
Feb 22, 2023 17:25
Vote:
 

Can you share the code for ExtendedContentAreaRenderer.cs and the Full Stack Trace

#297020
Feb 22, 2023 22:13
Vote:
 

Which version of .NET are you running? 

#297059
Feb 23, 2023 9:23
* 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.