Solved

namespace

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Get id from json Data with NewtonSoft 3 49
System.Speech 2 26
Reading the Web.Config using IIS 7.5? 4 35
Google Directions API to Map URL -C#? 3 19
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

813 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

15 Experts available now in Live!

Get 1:1 Help Now