James123 James123 - 1 year ago 102
Vb.net Question

Why assembly namespace coming twice?

I am calling my business layer project in Web Project. I added refress business layer project to Web. When I call class in BL project, I need to write twice this namespace. I dont know why it is coming.


I suppose to call


In my BL project I defined all classes namespace is

Please help me out.

Thanks in advance

Answer Source

I am assuming certain things from the tags that you are using. You are using an assembly written in VB.NET in your other project. VB.NET project properties include an attribute "default namespace" and that might be set with the namespace that you have defined explicitly at the top of your classes. Remove the default namespace (uncheck it) in the project properties and recompile the same.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download