Skip to content

Source Error: [No relevant source lines] using kendo UI

Sree Lakshmi

Asked Mar 24, 2017, 1:09 AM EDT1 answer
Share
LinkedInX
Hi,
 
I am new to ASP.NET and I am learning kendo UI. When I try to run the simple MVC application for dateTimePicker, it's showing the following compiler error. Please tell me what to do to resolve this issue:
 

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1705: Assembly 'Kendo.Mvc, Version=2017.1.223.545, Culture=neutral, PublicKeyToken=121fae78165ba3d4' uses 'System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Mvc, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

Source Error:
Code
[No relevant source lines]

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • +1
    This error is caused because :

    Kendo uses a higher version of ASP.NET MVC than visual studio.

     
    This error can be resolved if you update the verion by installing asp.net mvc from nuget. 
    +1