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

Assuming assembly reference > System.Web.Mvc

1 Answer 378 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Morten
Top achievements
Rank 2
Iron
Iron
Veteran
Morten asked on 24 Jan 2019, 10:12 AM

Hello support,

With me updating to Kendo.Mvc.dll 2018.3.1219.545 I'm getting som Code CS1702 warnings (see screenshot) when using kendo widgets tag helpers (i.e. @(Html.Kendo().DropDownListFor or Html.Kendo().DatePickerFor).

I have System.Web.Mvc version 5.2.7.0 referenced in the asp.net mvc 5 project and in my root web.config I have this entry in my <runtime> section:

    <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
      </dependentAssembly>

I'm not sure how to fix these warnings. Can you help?

Thanks in advance

Best regards

Morten

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 25 Jan 2019, 12:55 PM
Hello Morten,

The warning observed is caused by a mismatch of the System.Web.Mvc version used in the Kendo.Mvc.dll (5.2.6) and the latest released NuGet package (5.2.7). In order to avoid that warning, you will need to use the 5.2.6 version of System.Web.Mvc. You could do so by downgrading the project's version from the NuGet Package Manager to 5.2.6. Also, we are planning to upgrade that version for the upcoming service pack, which is expected in mid-February 2019.

Regards,
Dimitar
Progress Telerik
Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Morten
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Dimitar
Telerik team
Share this question
or