I've added an implementation for the optional Microsoft.Extensions.DependencyInjection.ISupportRequiredService interface to the LightInjectServiceProvider. This replaces the generic exception thown by GetRequiredService<T>(IServiceProvider) with the original exception thrown by LightInject.
I've added an implementation for the optional
Microsoft.Extensions.DependencyInjection.ISupportRequiredService
interface to the LightInjectServiceProvider. This replaces the generic exception thown byGetRequiredService<T>(IServiceProvider)
with the original exception thrown by LightInject.Documentation can be found here: https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.dependencyinjection.isupportrequiredservice