Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

namespace

Posted on 2003-11-13
6
Medium Priority
?
544 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
3 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 150 total points
ID: 9770874
Project->Add Reference-> 'Projects' tab -> 'Brose..' button,
find and select dll of project which includes 'projcpp_namesp'
0

Featured Post

Independent Software Vendors: 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

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Integration Management Part 2
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

783 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