Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Namespace error

Namespace error

Namespace error

Hi All,

I have a VS.net 2010 pro solution with 32 projects that make up my website.

Some of the projects are dependencies used by other projects in the solution. For example, Project A has no UI and is used by Project B and Project C.

When I attempt to build Project C, I get the following error:

Error 77 The type or namespace name 'Portal' does not exist in the namespace 'Ivy.ProjectA' (are you missing an assembly reference?)

Here's the line in question:

using Ivy.ProjectA.Portal

Project A is referenced in Project B just fine but for some reason it throws this error in Project C. To make matters worse, this line is fine:

using Ivy.ProjectA.Performance

As if Project C can only see part of Project A's DLL (which builds fine BTW). Again, Project B does not have this issue.

I've rebooted, always run VS.net as admin, removed the reference to ProjectA.ddl and put it back and a few other trivial things but nothing has worked.

Any way to force Project C to really "see" Project A like it does in Project B?


RE: Namespace error

Are you using project references or dll references?
I would use project references and have all 3 in the same solution.

Also, you may need to build the solution in a particular order.. Project A, then B then C?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close