title: Can’t resolve from IServiceProvider .net core
body: <p>I register some <code>masstransit</code> consumer in <code>IServiceCollection</code> but i can’t resolve from <code>IServiceProvider</code>.</p>
  
  <p>Its my add consumer method.</p>
  
  <pre><code> public static void Consumer(IServiceCollection serviceCollection)
   {
        serviceCollection.AddMassTransit(x =&gt; { x.AddConsumer&lt;BookCommandHandler&gt;(); });
        serviceCollection.AddScoped&lt;BookCommandHandler&gt;();
        serviceCollection.BuildServiceProvider();
   }
  </code></pre>
  
  <p>When i want to resolve give me not register error</p>
  
  <pre><code>  public static void ConfigureServices(IServiceCollection serviceCollection, IServiceProvider serviceProvider, IConfiguration configuration)
    {
       var xx = serviceProvider.GetRequiredService&lt;BookCommandHandler&gt;();
    }
  </code></pre>
  
  <p>Where is my fault ?</p>