Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2715
.Net 4.5.1
posted

Im trying to move a mvc project from vs 2012 to vs 2013 rc

I created a new mvc project using .net 4.5.1
copied the code from the existing project

this line gives an error :

[GridDataSourceAction]

The safety rules for inheritance was violated by type: 'Infragistics.Web.Mvc.GridDataSourceActionAttribute'. Derived types must either match the access to the security of the base type or be less accessible.

Parents
  • 23953
    Offline posted

    Hello Christian,

    I created a new MVC 4 project targeting .net 4.5.1 in VS 2013 RC and referenced Infragistincs.Web.Mvc.dll version 4.13.1.2217 and the project compiles successfully.

    The Infragistics.Web.Mvc.GridDataSourceActionAttribute type derives from System.Web.Mvc.FilterAttribute and implements System.Web.Mvc.IActionFilter. Both of them reside in System.Web.Mvc.dll and in my project its version is v4.0.0.0. Can you check what version of System.Web.Mvc.dll you reference in your project?

    Best regards,
    Martin Pavlov
    Infragistics, Inc. 

Reply Children