Im trying to move a mvc project from vs 2012 to vs 2013 rc
I created a new mvc project using .net 4.5.1copied 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.
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 PavlovInfragistics, Inc.
System.Web.Mvc.dll is version 5.0.0.0
If I remove [GridDataSourceAction]
It compile ok