Reputation: 238
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:
<module name="MyModule">
<bind service="IUserBLL, MyWebProject"
to="BLL.UserBLL, MyProject.Core" name="UserBLL" />
</module>
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?
Upvotes: 1
Views: 161