-
-
Notifications
You must be signed in to change notification settings - Fork 176
Closed
Labels
Description
Hi!
When i build the service provider with validation of scopes like this:
services.BuildServiceProvider(validateScopes: true)
I get this error:
Cannot resolve scoped service 'FubarDev.FtpServer.Commands.IFtpCommandHandlerProvider' from root provider.
ValidateScopes is also true when using CreateDefaultBuilder in ASP.NET Core which is where i encountered the issue.
Here is a minimal example of the issue, if i remove validateScopes i can connect but with it the application crashes.
Great work with 3.0, looking foward to the release!
/Ludvig