title: Method not found: 'Microsoft.Extensions.DependencyInjection.ServiceProvider'
body: <p>I have developed a simple console application in .NET6 with target Platform x86 which contains 1 project only with the following packages:</p>
  <ul>
  <li><p>Microsoft.AspNetCore.SignalR.Client (6.0.5)</p>
  <p>Microsoft.AspNetCore.SignalR.Common(6.0.5)</p>
  <p>Microsoft.AspNetCore.SignalR.Core(1.1.0)</p>
  <p>System.IO.Ports (6.0.0)</p>
  </li>
  </ul>
  <p>Also it contains an API to communicate with a Dispenser.</p>
  <p>This console application send and recieve data with main software throught SignalR and send and recieve data with Dispenser throught API.</p>
  <p>I don't use any dependency injection and the Dispenser response when I try to initialize it is the next one:</p>
  <pre><code>Método no encontrado: 'Microsoft.Extensions.DependencyInjection.ServiceProvider Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection)'.
  </code></pre>
  <p>Any idea why the response is that?</p>