Unable to Install from Nuget

3 posts, 0 answers
  1. Michael
    Michael avatar
    2 posts
    Member since:
    Jul 2015

    Posted 14 Jul 2015 Link to this post

    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

  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 17 Jul 2015 Link to this post

    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
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Michael
    Michael avatar
    2 posts
    Member since:
    Jul 2015

    Posted 17 Jul 2015 in reply to Kiril Nikolov Link to this post

    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

Back to Top