services.addKendo() issue

3 posts, 1 answers
  1. Masha
    Masha avatar
    2 posts
    Member since:
    Jun 2020

    Posted 11 Jun 2020 Link to this post

    Hi! im trying to migrate project from .net core2.2. to .net core3.0.

    when i add line 

    services.AddKendo();

    i get an error:

    System.AggregateException: 'Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: Kendo.Mvc.Rendering.IKendoHtmlGenerator Lifetime: Transient ImplementationType: Kendo.Mvc.Rendering.KendoHtmlGenerator': Could not load type 'Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache' from assembly 'Microsoft.AspNetCore.Mvc.Core, Version=3.0.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.)'

    without this line, everything works fine

    i use kendo.mvc dll , 2019.1.220.0 version

    any soluiton?

     

     

  2. Masha
    Masha avatar
    2 posts
    Member since:
    Jun 2020

    Posted 15 Jun 2020 in reply to Masha Link to this post

    Fixed with new version of kendo.mvc.dll (2020.2.513) .net core 3.1
  3. Answer
    Neli
    Admin
    Neli avatar
    359 posts

    Posted 15 Jun 2020 Link to this post

    Hello Masha,

    Note, that official support for .NET Core 3.0 is provided starting with Telerik UI for ASP.NET Core version 2019.3.1023. As you have noticed, the error should be fixed when the latest UI for ASP.Net Core version is installed.

    Regards,
    Neli
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top