view raw
Tomek Tomek - 6 months ago 67
C# Question

PagedList package installed, "missing assembly reference" error in controller

I am following the MVC tutorial, I installed PagedList package, and I cannot use the PagedList reference in the controller.

The type or namespace name 'PagedList' could not be found (are you missing a using directive or an assembly reference?).


Check your references to see if there is a reference to the PagedList assembly.

If there isn't: Try to reinstall the package

If there is a reference: Check if the file actually exists on the location specified.

Reference example