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

Unable to Install from Nuget

4 Answers 965 Views
Installer and VS Extensions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 15 Jul 2015, 01:32 AM

Not sure if this is the right place to put this, but I'm currently having issues installing Kendo.Mvc 2015.2.602 from Nuget.

I get the following error:

Could not install package 'Kendo.Mvc 2015.2.602'. You are trying to install this package into a project that targets '.NETFramework, Version=v4.5.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

I was under the impression Kendo.Mvc was compatible with .NET 4.5.2. Am I wrong? Is this a bug? When I add the reference manually (by extracting the lib from the .nupkg file) and try to use the HtmlHelpers, I get the error "Cannot Resolve symbol "Kendo" even when @using Kendo.Mvc.UI.

If anyone has any guidance on this, I'd greatly appreciate it.

 

Michael

4 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 17 Jul 2015, 07:43 AM

Hello Michael,

What is the MVC version that you have in your project? Would it be possible to send us the sample that we can test and reproduce the issue?

Regards,
Kiril Nikolov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Michael
Top achievements
Rank 1
answered on 17 Jul 2015, 02:42 PM

Hi Kiril,

 

You were right to consider the version of MVC first! It turns out the nuget package is for MVC 6, not MVC 5 (which is what my project was in). I followed the install instructions for MVC 5 and now everything works as expected.

 

Thanks.

 Regards,

 Michael

0
Renuka
Top achievements
Rank 1
answered on 10 Jun 2020, 02:42 PM

Hi,

Iam getting this type of error

Could not install package 'Kendo. Mvc 2015.2.602'. You are trying to install this package into a project that targets '.Net Framework,Version=v4.5.1', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

The version of MVC  that Iam using is 5.2.7.0

If any one can help me with this issue,I would greatly appreciate it


0
Ivan Danchev
Telerik team
answered on 12 Jun 2020, 11:40 AM

Hi Renuka,

The old version from 2015 you are trying to install does not support the newest MVC version (5.2.7.0). Since you are using 5.2.7.0, we would recommend installing the latest official UI for ASP.NET MVC version: 2020.2.513.

Regards,
Ivan Danchev
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.
Tags
Installer and VS Extensions
Asked by
Michael
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Michael
Top achievements
Rank 1
Renuka
Top achievements
Rank 1
Ivan Danchev
Telerik team
Share this question
or