Need a gut check. When building a client lib, you may want to include DI registration ext methods on IServiceCollection. But that requires a dependency on Microsoft.Extensions.DependencyInjection. Do you put that in the lib or do you create another package with those methods?
Comments
Obviously the Hosting package will depend on the other package, but does it seem like there'd be enough usages to warrant not having DI baked in as a first-party feature of the main package?
That dependency is small, and not that many people try to do w/o some kind of IHostBuilder bootstrapping
Honestly, though, that would literally never stop me using a library.