lettucebo/X.PagedList.Mvc.Bootstrap4

Error Implementing in C#/MVC5

vonhaupt01 opened this issue · 1 comments

Using c#, MVC5, not core. Trying to switch from PagedList and get this error;

Severity Code Description Project File Line Suppression State
Error CS0012 The type 'Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. 2_Areas_Admin_Views_PhotoDb_Index.cshtml P:\SourceCode - 2020\vhPhoto\vhPhoto.Web\Areas\Admin\Views\PhotoDb\Index.cshtml 198 Active

@Html.PagedListPager((IPagedList)Model, page => Url.Action("Index", new { page, sortOrder = ViewBag.CurrentSort, currentFilter = ViewBag.CurrentFilter }), Bootstrap4PagedListRenderOptions.ClassicPlusFirstAndLast)

Never mind, got my answer, Works great now...