Skip to content

Can only set applicationScopedServiceProvider once #151

@anthony-keller

Description

@anthony-keller

Version
3.1.0

Since 3.1.0, our web applications that use Autofac have been experiencing this error:
Can only set applicationScopedServiceProvider once

I can try and create a repro solution if needed, but just wanted to check first to see whether there is anything obvious I can do to resolve the issue? When debugging into the symbols, both the _applicationScopedServiceProvider and the serviceProvider passed in are instances of AutofacServiceProvider but they must be different because it's passing the != check.

Version 3.0.0 does not have this issue. Our micro-services projects (that don't use Autofac) don't have this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions