Link to home
Start Free TrialLog in
Avatar of samliam
samliam

asked on

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.


Avatar of DaniPro
DaniPro
Flag of Italy image

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.
can you find your c++ object using object browser ?? it should display the fully qualified path in there.
ASKER CERTIFIED SOLUTION
Avatar of WiB
WiB

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial