-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autofac.Core.RegisComponentNotRegisteredException : The requested service 'Reqnroll.FeatureContext' has not been registered. #6
Comments
Did you find a solution for this? Seeing a similar error after introducing the ReportPortal.Reqnroll package and the ReportPortal.json |
We solved this problem by using reflection to register the ReportPortalHooks.
|
Hey There, thanks very much for the suggestion. Unfortunately it doesn't seem to fix my issue. In my scenario the exception is thrown before the "ScenarioDependencies" hooks is called. |
Can someone to create simple minimal project to reproduce the issue? I will help. |
Hi There, yes absolutely https://github.com/Antwane/Reqnroll.ReportalPortal.ReproProject I created that one a while back but the problems persists. Any feedback is appreciated, Thanks very much |
Hello there, I recently started a new project with Reqnroll & Autofac and I wanted to include ReportPortal to it. The problem is as soon as I added the nuget to the project, it stops working. I get the following exception
Autofac.Core.Registration.ComponentNotRegisteredException : The requested service 'Reqnroll.FeatureContext' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.
Steps to Reproduce:
Thanks,
The text was updated successfully, but these errors were encountered: