namespace

I add a c++ project in the same solution, which automaticaaly creates a namespace, "projcpp_namesp", parallel to the C# asp.net project, "projcs".

I right-click "projcs" -> add reference, under 'projects' tab, I select the c++ project and "projcpp_namesp" appears under 'reference'.

In a aspx.cs file I add "using projcpp_namesp;"

Error: namespace "projcpp_namesp" could not be found (missing using directive or assembly reference?)

How do I fix this problem?

Thanks.


samliamAsked:
Who is Participating?
 
WiBConnect With a Mentor Commented:
Project->Add Reference-> 'Projects' tab -> 'Brose..' button,
find and select dll of project which includes 'projcpp_namesp'
0
 
DaniProCommented:
why have you add the C++ project to the solution and the reference too? I think that it's generates a conflict.
Try to remove the C++ project to your solution.
0
 
smeggheadCommented:
can you find your c++ object using object browser ?? it should display the fully qualified path in there.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.