c# - Why is my Interface not being found? -



c# - Why is my Interface not being found? -

i'm getting, "the type or namespace name 'inrbqdeliveryrepository' not found (are missing using directive or assembly reference?)" here:

public class deliverycontroller : apicontroller { private readonly inrbqdeliveryrepository _deliveryrepository;

the interface type i'm trying reference there is:

namespace seastore.data.legacy.interfaces { public interface inrbqdeliveryrepository . . .

these different projects in solution (nrbq.web trying access sibling, seastore.data.legacy); adding "using seastore.data.legacy.interfaces;" class prevents compilation "not found" error doesn't help - in fact, go error noted above getting add-on error, specifically:

"the type or namespace name 'data' not exist in namespace 'seastore' (are missing assembly reference?)" in controller class here:

using seastore.data.legacy.interfaces;

why other-project interface not visible?

the error message received kind of selfexplanatory: are missing assembly reference.

it indicates missing reference assembly.

add --> reference --> locate library interface defined, , add together reference.

the using should resolve then, because can find namespace. means can utilize interface!

c# asp.net-mvc-4 interface projects-and-solutions solution

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -