-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AspNetCore 2.2 AspNetCoreHostingModel InProcess not working #488
Comments
Could you create a simple repro of this and push it up on Github? |
Suere, |
Take at look at this PR |
Thanks, i was using it wrong :D |
I would like to understand better, i'm looking at the code in |
It sets a couple of options that makes LightInject 100% compliant with the default container in Microsoft.Extensions.DependencyInjection. |
There you go: Thanks |
Hi,
if you create a new AspNetCore 2.2 project and add LightInject.Microsoft.DependencyInjection package, configure the container in ConfigureServices
var container = new ServiceContainer(); return container.CreateServiceProvider(services);
when you run it blows with :
System.InvalidOperationException: 'No service for type 'Microsoft.AspNetCore.Hosting.Server.IServer' has been registered.'
The text was updated successfully, but these errors were encountered: