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

Update to ASP.NET Core 2.0

12 Answers 215 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 22 Aug 2017, 07:07 PM

Hello,

Today I just updated our project to ASP.NET Core 2.0.  It looks like this broke my Kendo grids.  Is this a known problem, if so will it be fixed soon?  The stack trace shows this is happening in the Kendo code.

 

TypeLoadException: Could not load type 'Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResultExtensions' from assembly 'Microsoft.AspNetCore.Mvc.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.

12 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 23 Aug 2017, 07:08 PM
Hello,

The issue you are facing with .NET Core 2.0 is already fixed in the latest internal build (2017.2.823) uploaded today. Please download it from your account test the project with it and let us know if it works as expected or you still encounter the same error.

We are looking forward to your reply.

Regards,
Pavlina
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Travis
Top achievements
Rank 1
answered on 29 Aug 2017, 07:10 PM

 

After downloading the internal build i am getting this error now.

 

http://www.telerik.com/forums/datasourcerequest-error---could-not-load-type-microsoft-aspnetcore-mvc-internal-taskcache

 

 

 

0
Ilian Yovchev
Top achievements
Rank 1
answered on 30 Aug 2017, 03:55 PM
Is there a ".nupkg" package available for download for the internal build?
0
Brian
Top achievements
Rank 1
answered on 30 Aug 2017, 07:10 PM

I am getting the same error as the original poster:

 

TypeLoadException: Could not load type 'Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResultExtensions' from assembly 'Microsoft.AspNetCore.Mvc.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.

 

I have upgraded to the 2017.2.823 and this error is still there.  Prior to the .823 version the grids were entirely broken, now all grids work but one where I have a particular client template.   Other client templates work but this one particular one throws the above exception.

I'm trying to sort out what is different about this client template and I'll report back if I fond something.

 

 

 

 

0
Travis
Top achievements
Rank 1
answered on 30 Aug 2017, 07:12 PM

For anyone who is having this issue I submitted a support ticket with Telerik and they have identified it as a bug.

I hope they release a new internal build soon.

0
Brian
Top achievements
Rank 1
answered on 30 Aug 2017, 07:18 PM

You can disregard my prior post above about a client template throwing an exception.  One of our projects missed getting the .823 update and that was the issue.  The other issue as posted by Travis is still relevant, just the post by me is now fixed by internal build .823.

 

0
Pavlina
Telerik team
answered on 31 Aug 2017, 04:09 PM
Hi,

The bug with .Net Framework 4.6.1 is logged with high importance and we will do our best to fix it as soon as possible. Below is the issue from where you can follow its status:
https://github.com/telerik/kendo-ui-core/issues/3546


In case a fix for this bug is available before the R3 release, a new internal build will be uploaded next week. Please excuse us for the inconvenience caused by this issue. 

Regards,
Pavlina
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Michael
Top achievements
Rank 1
answered on 14 Sep 2017, 11:27 PM

Hello, I'm a long time Telerik customer that just moved to a new company.  We are about to buy 3 more telerik licenses here.  In the meantime I'm using the trial of Devcraft to work on an ASP.net core 2.0 MVC application.  I'm having the same trouble after today's update with binding the grid directly to the model.  Still getting the same error as before.  Is there something else we need to do?

Thanks!!

Mike

0
Pavlina
Telerik team
answered on 15 Sep 2017, 04:27 PM
Hi Mike,

Could you please confirm that you have downloaded the latest 2017.3.913 version from your account and tested your application with it? The problem with the model binding is resolved in the latest release so you should not encounter any troubles.

However, if you are still getting the same error I would advise you to try cleaning up your solution from the old references and rebuild it again to see whether the problem exists.

If you still replicate the issue please send us a sample project where we can observe the issue locally and advice you further.

Regards,
Pavlina
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
David
Top achievements
Rank 1
answered on 22 Nov 2017, 12:16 AM

****.csproj : error NU1102: Unable to find package Telerik.UI.for.AspNet.Core with version (>= 2017.3.1026)

****.csproj : error NU1102:   - Found 1 version(s) in nuget.org [ Nearest version: 2016.3.914 ]

It looks like nuget is not updated with the latest version.
0
Pavlina
Telerik team
answered on 24 Nov 2017, 11:44 AM
Hi,

Could you try adding the latest Nuget Package for ASP.NET Core using a  Telerik Nuget Private Feed as described in our 
documentation: https://docs.telerik.com/aspnet-core/getting-started/getting-started#configuration-Add and let us know if this helps.

In case you want to avoid accessing the Telerik private feed, you could simply download the latest Telerik.UI.for.AspNet.Core.nupkg file from your Telerik account and reference that locally to your project. Below you will find a StackOverflow forum thread, which explains how this could be done:
https://stackoverflow.com/questions/10240029/how-to-install-a-nuget-package-nupkg-file-locally

I hope this helps.

Regards,
Pavlina
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
David
Top achievements
Rank 1
answered on 27 Nov 2017, 03:14 PM
Yes, that helped. Thanks.
Tags
General Discussions
Asked by
Andrew
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Travis
Top achievements
Rank 1
Ilian Yovchev
Top achievements
Rank 1
Brian
Top achievements
Rank 1
Michael
Top achievements
Rank 1
David
Top achievements
Rank 1
Share this question
or