Error 8 The type or namespace name 'PagedList' could not be found;Error 8 The type or namespace name 'PagedList' could not be found (are you missing a using directive or an assembly reference?)
I encountered the below error while compiling the project.
Error 8 The type or namespace name 'PagedList' could not be found (are you missing a using directive or an assembly reference?)
Solution:
Try installing the PagedList.MVC NuGet package for your project.
You could use the following steps to do so :
Right-click your Project within the Solution Explorer

This should add all of the appropriate references that you need. You'll then just need to add the appropriate using statements within your code (generally, you could right-click on the ToPagedList() method and choose the "Resolve..." option to do this automatically).
I encountered the below error while compiling the project.
Error 8 The type or namespace name 'PagedList' could not be found (are you missing a using directive or an assembly reference?)
Solution:
Try installing the PagedList.MVC NuGet package for your project.
You could use the following steps to do so :
Right-click your Project within the Solution Explorer
- Choose the "Manage NuGet Packages" option that appears
- Search for "PagedList.MVC" within the search box
- Click "Install" on the first option that appears :
This should add all of the appropriate references that you need. You'll then just need to add the appropriate using statements within your code (generally, you could right-click on the ToPagedList() method and choose the "Resolve..." option to do this automatically).
No comments:
Post a Comment