Solved

namespace

Posted on 2003-11-13
6
537 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

749 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