Tomek Tomek - 1 year ago 113
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?).

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download