This is a migrated thread and some comments may be shown as answers.

services.addKendo() issue

4 Answers 479 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Masha
Top achievements
Rank 1
Masha asked on 11 Jun 2020, 07:01 AM

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?

 

 

4 Answers, 1 is accepted

Sort by
0
Masha
Top achievements
Rank 1
answered on 15 Jun 2020, 12:33 PM
Fixed with new version of kendo.mvc.dll (2020.2.513) .net core 3.1
0
Accepted
Neli
Telerik team
answered on 15 Jun 2020, 03:17 PM

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.
0
JM
Top achievements
Rank 1
answered on 09 Feb 2021, 11:23 AM
Hi Neli,
Creating the new project in Visual Studio 2019 using Asp.net Core 3.1.....I am facing this issue 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.1.11.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.)'....
 Please help on this. Its quit urgent one.
0
Neli
Telerik team
answered on 12 Feb 2021, 09:18 AM

Hi JM,

I noticed that my colleague Veselin has already answered the question in the Forum thread on the same topic linked below

- https://www.telerik.com/forums/could-not-load-type-'microsoft-aspnetcore-mvc-internal-clientvalidatorcache'#zXUurhUTEUmmmzoI32zjJw

I would suggest you keep the conversation in a single thread. 

Regards,
Neli
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
Masha
Top achievements
Rank 1
Answers by
Masha
Top achievements
Rank 1
Neli
Telerik team
JM
Top achievements
Rank 1
Share this question
or