You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to inject from another class library but it doesn't work, i am getting this error:
Couldn't resolve type 'BLL.UserBLL, MyProject.Core' defined in 'to' attribute.
A extra note is that i can see the binding of i debug and inspect the kernel so the mapping is made correctly.
I try to inject into a webservice (asmx), i've changed the inheritance to Ninject.Web.WebServiceBase and i am putting the attribute [Inject] to the property that i want to inject.
All this works if i use kernel.Bind() instead with the same class and interface.
Hello,
I am trying to inject from another class library but it doesn't work, i am getting this error:
Couldn't resolve type 'BLL.UserBLL, MyProject.Core' defined in 'to' attribute.
XML:
So i am trying to use the class UserBLL in the namespace "BLL" in the external class library "MyProject.Core".
The MyProject.Core is refered in MyWebProject
What am i doing wrong?
The text was updated successfully, but these errors were encountered: