I can\'t use the following namespace PagedList to use razor @model PagedList.IPagedListin the topmost of view In
PagedList
@model PagedList.IPagedList
In
I believe I had exactly the same problem. Visual Studio underlines PagedList in red and asks "are you missing a using directive or assembly reference?".
All I had to do was build the project. Then Visual Studio stops complaining.