Punit Sharma

Punit Sharma

  • NA
  • 101
  • 56.6k

Error when using Paging using IPagedList in MVC

Jan 11 2017 3:45 AM
Hi Team,
 
I am getting error when using Paged List dll in MVC 3 reference from
 
http://www.c-sharpcorner.com/UploadFile/rahul4_saxena/paging-and-sorting-in-mvc4-using-pagedlist/ 
 
A screen shot attached, Please suggest me how to resolve this  
 
Thanks,
 

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1705: Assembly 'PagedList.Mvc, Version=4.5.0.0, Culture=neutral, PublicKeyToken=abbb863e9397c5e1' uses 'System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

Source Error:

 
[No relevant source lines]

Source File: Line: 0


Show Detailed Compiler Output:



Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1087.0 

Answers (1)