title: @Html.PagedListPager can't be found
body: <p>I have a ASP.NET.CORE 2.0 application and I want to add paging to my site. I started with Troy Goode PagedList but I got the same error and I went to try the X version and still got the same results.</p>
  
  <pre><code>Reference to type 'HtmlString' claims it is defined in 'System.Web', but it could not be found
  @Html.PagedListPager((IPagedList)Model, page =&gt; Url.Action("Index", new { page }))
  </code></pre>
  
  <p>I can't even find in intellisense the method <code>@Html.PagedListPager</code>
  UPDATE: It doesn't work on a brand new empty project</p>
  
  <pre><code>@using X.PagedList.Mvc; @*import this so we get our HTML Helper*@
  @using X.PagedList; 
  @model IPagedList&lt;StecajneObjave.Models.ViewModels.ObjavaViewModel&gt;
  
  
  
  &lt;p&gt;
       &lt;a asp-action="Create"&gt;Create New&lt;/a&gt;
  &lt;/p&gt;
      &lt;table class="table"&gt;
     &lt;tbody&gt;
  @foreach (var item in Model) {
      &lt;tr&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.DatumObjave)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.NazivStecajnogDuznika)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.OIBStecajnogDuznika)
          &lt;/td&gt;
  
          &lt;td&gt;
              @Html.ActionLink("Delaji", "Details", new { id = item.Id }) 
          &lt;/td&gt;
      &lt;/tr&gt;
  }
     &lt;/tbody&gt;
    &lt;/table&gt;
  
  &lt;h3&gt;Minimal Paging Control w/ Page Count Text&lt;/h3&gt;
  @Html.PagedListPager((IPagedList)Model, page =&gt; Url.Action("Index", new { page }))
  </code></pre>
  
  <p>I have tried reinstalling nuget packages, cleaning and rebuilding the solution but nothing seems to work. What am I missing here?</p>