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

UI for ASP.NET MVC with MVC 5.2.2

5 Answers 136 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Linus
Top achievements
Rank 1
Linus asked on 18 Dec 2014, 04:04 PM
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?

5 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 19 Dec 2014, 12:46 PM
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.

 
0
Accepted
Jean-Francois
Top achievements
Rank 1
answered on 01 Oct 2015, 01:10 PM
And now, do you have a version with 5.2.2 ?
0
Linus
Top achievements
Rank 1
answered on 02 Oct 2015, 06:46 AM

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!

 

0
Atanas Korchev
Telerik team
answered on 02 Oct 2015, 07:01 AM
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
0
Jean-Francois
Top achievements
Rank 1
answered on 02 Oct 2015, 12:51 PM
Yeah that's what I figure out! but thx! it's rly a better answer then the previous one :)
Tags
General Discussions
Asked by
Linus
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Jean-Francois
Top achievements
Rank 1
Linus
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or