Coder Social home page Coder Social logo

Comments (7)

yezhaocan avatar yezhaocan commented on June 2, 2024

同问,怎么解决

from dotnetcore-extensions.

miaochongda avatar miaochongda commented on June 2, 2024

新建asp.netcore2.0 webapi工程,按照步骤一步步添加,结果是:
Unhandled Exception: System.InvalidOperationException: Cannot resolve scoped service 'Pomelo.AspNetCore.TimedJob.IDynamicTimedJobProvider' from root provider.
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteValidator.ValidateResolution(Type serviceType, ServiceProvider serviceProvider)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
at Pomelo.AspNetCore.TimedJob.TimedJobService..ctor(IAssemblyLocator locator, IServiceProvider services)
--- End of stack trace from previous location where exception was thrown ---

from dotnetcore-extensions.

wjw1-Evan avatar wjw1-Evan commented on June 2, 2024

Cannot resolve 'IServices.ISysServices.ISysLogService' from root provider because it requires scoped service 'Microsoft.EntityFrameworkCore.DbContext'.

from dotnetcore-extensions.

wjw1-Evan avatar wjw1-Evan commented on June 2, 2024

scoped 怎么处理?

from dotnetcore-extensions.

yukozh avatar yukozh commented on June 2, 2024

Fixed in 10046

from dotnetcore-extensions.

the404 avatar the404 commented on June 2, 2024

why close,don't give a link

from dotnetcore-extensions.

usbook avatar usbook commented on June 2, 2024

@yezhaocan @lentoo @miaochongda @wjw1-Evan @yukozh how to solve it?did you solve it?

from dotnetcore-extensions.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.