Last Updated: 20 May 2015 08:35 by Ion
Created on: 20 May 2015 08:05
Category: UI for ASP.NET MVC
Type: Feature Request
MVC 6 sample update
Hello, I got the package sample Telerik.UI.for.AspNet.Mvc6.Trial from c:\Program Files (x86)\Telerik\UI for ASP.NET MVC Q1 2015\wrappers\aspnetmvc\Examples\VS2015\Kendo.Mvc.Examples, as presented in, but is not compilable: services.AddKendo(); added in Startup.cs raises the error: The type 'IServiceCollection' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Framework.DependencyInjection.IServiceCollection, Version=, Culture=neutral, PublicKeyToken=null'. It seems the sample package needs to be rebuild with the new dnx dependencies. Can you update the package in an internal build?
Thank you!
Posted on: 20 May 2015 08:35
The problem seems to be runtime version: the trial package was built on k runtime, while I try to reffer in a dnx runtime solution, and I dont have k runtime downloaded on my machine; thus, I don't have the beta3 version of Microsoft.Framework.DependencyInjection package, reffered by MVC trial package
Posted on: 20 May 2015 08:25
Hi Kenshin,
Thanks for quick response! Yes, I have 2015.1.429 release. I followed the steps:
1) Copied package from c:\Program Files (x86)\Telerik\UI for ASP.NET MVC Q1 2015\wrappers\aspnetmvc\Examples\VS2015\Packages to c:\Users\ion\.dnx\packages\, in order to be available for my solution
2) Renamed Telerik.UI.for.AspNet.Mvc6.Trial\2015.1.429-beta1\lib\aspnet50 (aspnetcore50) to Telerik.UI.for.AspNet.Mvc6.Trial\2015.1.429-beta1\lib\dnx451 (respectively dnxcore50)
3) Added package to solution:  "Telerik.UI.for.AspNet.Mvc6.Trial": "2015.1.429-beta1" in project.json
4) Added services.AddKendo(); in Startup.cs->public void ConfigureServices(IServiceCollection services)

and got the error I mentioned. Did I miss something?

Telerik Admin
Posted on: 20 May 2015 08:09
Can you verify that you downloaded the latest version of our Telerik UI for ASP.NET MVC NuGet package (for MVC 6) from the 2015.1.429 release? It should work against the up-to-date version of ASP.NET MVC 6.

If you continue to experience issues, please report them via our forum or support system on, Ion. Thus our support team will assist you accordingly in addressing them.