I have a web application that uses IgniteUI.MVC v16.1.
I am trying to move to 16.2
I have installed IgniteUI.MVC 16.2 via NuGet.
Now, when I use the html helpers I get this error :
How can I solve this ?
Hello Stokomani,
You're probably using ASP.NET MVC5, but the Infragistics.Web.Mvc.dll reference in the project is built against MVC4. Try referencing Infragistics.Web.Mvc.dll version 5.16.2.2040 and see if the issue disappears.Your Infragistics.Web.Mvc reference in the project file should look like this:
<Reference Include="Infragistics.Web.Mvc, Version=5.16.2.2040, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL"> <HintPath>..\packages\IgniteUI.MVC.16.2.20162.2040\lib\net451\Infragistics.Web.Mvc.dll</HintPath> <Private>True</Private></Reference>
Best regards,Martin PavlovInfragistics, Inc.
That solved the problem, thanks !
Note that compiling the web project in .NET 4.5.1 (without updating the reference) also solved it. The project was initially compiled in 4.5.0.