Advertisement
Guest User

Untitled

a guest
Feb 27th, 2020
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. 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'.)
  2. at at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(Type serviceType, Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)
  3. at at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(ResultCache lifetime, Type serviceType, Type implementationType, CallSiteChain callSiteChain)
  4. at at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, Type serviceType, CallSiteChain callSiteChain, Int32 slot)
  5. at at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.GetCallSite(ServiceDescriptor serviceDescriptor, CallSiteChain callSiteChain)
  6. at at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.ValidateService(ServiceDescriptor descriptor)
  7. --- End of inner exception stack trace ---
  8. at at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.ValidateService(ServiceDescriptor descriptor)
  9. at at Microsoft.Extensions.DependencyInjection.ServiceProvider..ctor(IEnumerable`1 serviceDescriptors, ServiceProviderOptions options)
  10. --- End of inner exception stack trace ---
  11. at at Microsoft.Extensions.DependencyInjection.ServiceProvider..ctor(IEnumerable`1 serviceDescriptors, ServiceProviderOptions options)
  12. at at Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(IServiceCollection services, ServiceProviderOptions options)
  13. at at Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory.CreateServiceProvider(IServiceCollection containerBuilder)
  14. at at Microsoft.Extensions.Hosting.Internal.ServiceFactoryAdapter`1.CreateServiceProvider(Object containerBuilder)
  15. at at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
  16. at at Microsoft.Extensions.Hosting.HostBuilder.Build()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement