UI for ASP.NET MVC with MVC 5.2.2

6 posts, 1 answers
  1. Linus
    Linus avatar
    7 posts
    Member since:
    Nov 2012

    Posted 18 Dec 2014 Link to this post

    Question: Is it possible to use UI for ASP.NET MVC with MVC 5.2.2?

    Or has the Kendo.MVC project to be re-compiled with MVC 5.2.2 and the related packages?
  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 19 Dec 2014 Link to this post

    Hi Linus,

    Our UI for ASP.NET MVC assembly is built against ASP.NET MVC 5.0. However, with your commercial license which includes access to the source code of the product, you can build the source against MVC 5.2.2 if that's a requirement in your project, and it should work as expected.

    Regards,
    Sebastian
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Answer
    Jean-Francois
    Jean-Francois avatar
    2 posts
    Member since:
    Sep 2015

    Posted 01 Oct 2015 in reply to Sebastian Link to this post

    And now, do you have a version with 5.2.2 ?
  5. Linus
    Linus avatar
    7 posts
    Member since:
    Nov 2012

    Posted 02 Oct 2015 in reply to Jean-Francois Link to this post

    Yes, it works. If you have full source code you are able to produce easily a 5.2.2-version.

    I attached my csproj-File for you. Compare it with the original csproj FILE and notice the difference.

    Good luck!

     

  6. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 02 Oct 2015 Link to this post

    Hello guys,

    There isn't a real need to compile Kendo.Mvc.dll in order to use it with ASP.NET 5.2.2 (and 5.2.3).

    All you have to do is use a binding redirect in your web.config (which NuGet does automatically if you update the ASP.NET MVC reference with it):

     <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />

          </dependentAssembly>
        </assemblyBinding>
      </runtime>

    Please find attached a runnable sample which utilizes this approach.
    Regards,
    Atanas Korchev
    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
  7. Jean-Francois
    Jean-Francois avatar
    2 posts
    Member since:
    Sep 2015

    Posted 02 Oct 2015 in reply to Atanas Korchev Link to this post

    Yeah that's what I figure out! but thx! it's rly a better answer then the previous one :)
Back to Top
UI for ASP.NET MVC is VS 2017 Ready