title: IConfiguration does not contain a definition for GetValue
body: <p>After moving a class through projects, one of the <code>IConfiguration</code> methods, <code>GetValue&lt;T&gt;</code>, stopped working. The usage is like this:</p>
  <pre class="lang-cs prettyprint-override"><code>using Newtonsoft.Json;
  using System;
  using System.Net;
  using System.Text;
  using Microsoft.Extensions.Configuration;
  
  namespace Company.Project.Services
  {
      public class MyService
      {
          private readonly IConfiguration _configuration;
  
          public string BaseUri =&gt; _configuration.GetValue&lt;string&gt;(&quot;ApiSettings:ApiName:Uri&quot;) + &quot;/&quot;;
  
          public MyService(
              IConfiguration configuration
          )
          {
              _configuration = configuration;
          }
      }
  }
  </code></pre>
  <p>How can I fix it?</p>