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

[Solved] GridAction Compilation error

1 Answer 81 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Eugenio Alonso
Top achievements
Rank 1
Eugenio Alonso asked on 14 Nov 2010, 02:22 AM
Error 1 The project currently contains references to more than one version of System.Web.Mvc, a direct reference to version 1.0.0.0 and an indirect reference (through 'Telerik.Web.Mvc.GridActionAttribute') to version 2.0.0.0. Change the direct reference to use version 2.0.0.0 (or higher) of System.Web.Mvc. C:\XoftWebs8\Saitm\Saitm\Controllers\ProveedoresController.vb 19 6 Saitm
I have this compilation error, worked well yesterday, but today this error appeared.

The project currently contains references to more than one version of System.Web.Mvc, a direct reference to version 1.0.0.0 and an indirect reference (through 'Telerik.Web.Mvc.GridActionAttribute') to version 2.0.0.0. Change the direct reference to use version 2.0.0.0 (or higher) of System.Web.Mvc.
C:\Saitm\Controllers\ProveedoresController.vb

The exact line referenced  by the error is: 
<GridAction()> _
Function _Index(ByVal id As Integer) As ActionResult

Thanks for your assistance

Eugenio

1 Answer, 1 is accepted

Sort by
0
Eugenio Alonso
Top achievements
Rank 1
answered on 14 Nov 2010, 11:12 PM
i resolve that removing mvc references and added again.

Thanks
Tags
Grid
Asked by
Eugenio Alonso
Top achievements
Rank 1
Answers by
Eugenio Alonso
Top achievements
Rank 1
Share this question
or