Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: Foo.IFoo Lifetime: Transient ImplementationType: Foo': Unable to resolve service for type 'IFactory' while attempting to activate 'Foo'.) (Error while validating the service descriptor 'ServiceType: ServiceContractTypes.ITransientService Lifetime: Transient ImplementationType: Foo': Unable to resolve service for type 'IFactory' while attempting to activate 'Foo'.)
- at at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(Type serviceType, Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)
- at at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(ResultCache lifetime, Type serviceType, Type implementationType, CallSiteChain callSiteChain)
- at at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, Type serviceType, CallSiteChain callSiteChain, Int32 slot)
- at at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.GetCallSite(ServiceDescriptor serviceDescriptor, CallSiteChain callSiteChain)
- at at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.ValidateService(ServiceDescriptor descriptor)
- --- End of inner exception stack trace ---
- at at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.ValidateService(ServiceDescriptor descriptor)
- at at Microsoft.Extensions.DependencyInjection.ServiceProvider..ctor(IEnumerable`1 serviceDescriptors, ServiceProviderOptions options)
- --- End of inner exception stack trace ---
- at at Microsoft.Extensions.DependencyInjection.ServiceProvider..ctor(IEnumerable`1 serviceDescriptors, ServiceProviderOptions options)
- at at Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(IServiceCollection services, ServiceProviderOptions options)
- at at Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory.CreateServiceProvider(IServiceCollection containerBuilder)
- at at Microsoft.Extensions.Hosting.Internal.ServiceFactoryAdapter`1.CreateServiceProvider(Object containerBuilder)
- at at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
- at at Microsoft.Extensions.Hosting.HostBuilder.Build()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement