IServiceCollection does not contain a definition for 'AddHandlers' #67
-
I am trying to register handlers in a project but I am getting the error mentioned in the title. I installed the package with NuGet and have a using statement for |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The |
Beta Was this translation helpful? Give feedback.
-
Great that did it thanks! |
Beta Was this translation helpful? Give feedback.
The
AddHandlers()
extension method is defined in the root namespace of your project. If you have a<RootNamespace/>
in your .csproj file,using
that. Otherwise,using
the name of your .csproj file (akaWeb.csproj
would beusing Web;
.