Solved

namespace

Posted on 2003-11-13
6
532 Views
Last Modified: 2010-04-16
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.


0
Comment
Question by:samliam
6 Comments
 
LVL 6

Expert Comment

by:DaniPro
ID: 9745952
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
 
LVL 10

Expert Comment

by:smegghead
ID: 9747017
can you find your c++ object using object browser ?? it should display the fully qualified path in there.
0
 
LVL 3

Accepted Solution

by:
WiB earned 50 total points
ID: 9770874
Project->Add Reference-> 'Projects' tab -> 'Brose..' button,
find and select dll of project which includes 'projcpp_namesp'
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Build JSON from table records 17 40
visual Basic Net vs c# net 8 54
Converting C# Objects into JSON file 7 37
C# TextBox 11 0
In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now