title: I'm trying to use Microsoft.AspNetCore.Mvc.Viewcomponent but the namespace isn't recognized
body: <p>So I am going through an aspnetcore book and I want to create view components for this app I inherited but I'm struggling to include the correct framework.</p>
  
  <p>The app I'm working on has a packages.config file  </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;packages&gt;
    &lt;package id="AjaxControlToolkit" version="7.0123" targetFramework="net45" /&gt;   
    &lt;package id="EntityFramework" version="6.2.0" targetFramework="net47" /&gt;
    &lt;package id="Microsoft.AspNet.Mvc" version="5.2.6" targetFramework="net47" /&gt;
    &lt;package id="Microsoft.AspNet.Razor" version="3.2.6" targetFramework="net47" /&gt;
    ...
  
  &lt;/packages&gt;
  </code></pre>
  
  <p>What do I need to add to use Viewcomponent from aspnetcore ? </p>