Hi,
I cannot generate a solution with 2 projects inside cause of a problem with
the using statement.
first project has 2 namespaces :
Intel
Intel.utilities
2nd project has also 2 namespaces :
Intel.utilities
Intel.UPNP
using Intel.UPNP;
Private UPnPDevice upnpLightDevice = null; // where UPnPDevice is a class
from namespace INtel.UPNP in the 2ndProject
BUT at project generation , I have the error " UPNP does'nt exist in the
namespace Intel "
SO HOW CAN I SPECIFY THE USING CLAUSE TO USE THE 2ndproject Intel.UPNP
Hope I've been right understood
Bernie 6 1595
presuming your code is in the first project, you need to add a reference to
the second project.
goto: Solution Explorer -> <project name> -> References
right click and select "add reference"
then select projects tab, double click on the second project, then OK
retry now.
"Bernie" <am********@free.fr> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... Hi,
I cannot generate a solution with 2 projects inside cause of a problem with the using statement. first project has 2 namespaces : Intel Intel.utilities
2nd project has also 2 namespaces : Intel.utilities Intel.UPNP
using Intel.UPNP;
Private UPnPDevice upnpLightDevice = null; // where UPnPDevice is a class from namespace INtel.UPNP in the 2ndProject
BUT at project generation , I have the error " UPNP does'nt exist in the namespace Intel "
SO HOW CAN I SPECIFY THE USING CLAUSE TO USE THE 2ndproject Intel.UPNP
Hope I've been right understood
Bernie
Thank's DAn
but the second project is already added and i svisible in the solution
explorer !!!
MAybe I need to specify the 2nd project name within the using clause ,
that contains the namespace i want to adress ?
"Dan Bass" <Not Listed> a écrit dans le message de news:
#R**************@TK2MSFTNGP14.phx.gbl... presuming your code is in the first project, you need to add a reference
to the second project.
goto: Solution Explorer -> <project name> -> References right click and select "add reference" then select projects tab, double click on the second project, then OK
retry now.
"Bernie" <am********@free.fr> wrote in message news:%2****************@tk2msftngp13.phx.gbl... Hi,
I cannot generate a solution with 2 projects inside cause of a problem with the using statement. first project has 2 namespaces : Intel Intel.utilities
2nd project has also 2 namespaces : Intel.utilities Intel.UPNP
using Intel.UPNP;
Private UPnPDevice upnpLightDevice = null; // where UPnPDevice is a
class from namespace INtel.UPNP in the 2ndProject
BUT at project generation , I have the error " UPNP does'nt exist in the namespace Intel "
SO HOW CAN I SPECIFY THE USING CLAUSE TO USE THE 2ndproject Intel.UPNP
Hope I've been right understood
Bernie
have you tried:
private Intel.UPNP.UPnPDevice upnpLightDevice = null;
"Bernie" <am********@free.fr> wrote in message
news:uy**************@TK2MSFTNGP15.phx.gbl... Thank's DAn
but the second project is already added and i svisible in the solution explorer !!!
MAybe I need to specify the 2nd project name within the using clause , that contains the namespace i want to adress ? "Dan Bass" <Not Listed> a écrit dans le message de news: #R**************@TK2MSFTNGP14.phx.gbl... presuming your code is in the first project, you need to add a reference to the second project.
goto: Solution Explorer -> <project name> -> References right click and select "add reference" then select projects tab, double click on the second project, then OK
retry now.
"Bernie" <am********@free.fr> wrote in message news:%2****************@tk2msftngp13.phx.gbl... > Hi, > > I cannot generate a solution with 2 projects inside cause of a problem > with > the using statement. > first project has 2 namespaces : > Intel > Intel.utilities > > 2nd project has also 2 namespaces : > Intel.utilities > Intel.UPNP > > using Intel.UPNP; > > Private UPnPDevice upnpLightDevice = null; // where UPnPDevice is a class > from namespace INtel.UPNP in the 2ndProject > > BUT at project generation , I have the error " UPNP does'nt exist in > the > namespace Intel " > > SO HOW CAN I SPECIFY THE USING CLAUSE TO USE THE 2ndproject Intel.UPNP > > Hope I've been right understood > > Bernie > > >
Thank's but that doesn't work !
The problem is that right at the clause "using intel.UPNP" it detects an
error , telling that UPNP does not exists within the namespace Intel
So it does not see the name space "intel.UPNP" from the second project of
the solution
Let's think again DAn
"Dan Bass" <Not Listed> a écrit dans le message de news:
Ov**************@TK2MSFTNGP12.phx.gbl... have you tried:
private Intel.UPNP.UPnPDevice upnpLightDevice = null; "Bernie" <am********@free.fr> wrote in message news:uy**************@TK2MSFTNGP15.phx.gbl... Thank's DAn
but the second project is already added and i svisible in the solution explorer !!!
MAybe I need to specify the 2nd project name within the using clause , that contains the namespace i want to adress ? "Dan Bass" <Not Listed> a écrit dans le message de news: #R**************@TK2MSFTNGP14.phx.gbl... presuming your code is in the first project, you need to add a
reference to the second project.
goto: Solution Explorer -> <project name> -> References right click and select "add reference" then select projects tab, double click on the second project, then OK
retry now.
"Bernie" <am********@free.fr> wrote in message news:%2****************@tk2msftngp13.phx.gbl... > Hi, > > I cannot generate a solution with 2 projects inside cause of a
problem > with > the using statement. > first project has 2 namespaces : > Intel > Intel.utilities > > 2nd project has also 2 namespaces : > Intel.utilities > Intel.UPNP > > using Intel.UPNP; > > Private UPnPDevice upnpLightDevice = null; // where UPnPDevice is a class > from namespace INtel.UPNP in the 2ndProject > > BUT at project generation , I have the error " UPNP does'nt exist in > the > namespace Intel " > > SO HOW CAN I SPECIFY THE USING CLAUSE TO USE THE 2ndproject
Intel.UPNP > > Hope I've been right understood > > Bernie > > >
Bernie check your project references. In the solution explorer, expand
References of the first project. Do you see the second project's name
listed underneath References? If not then you have to add a reference
to the project. Its not enough to add a project to the solution, you
have to manually add the reference to the project. Dan gave a good
example on how to add the project reference.
If you do see the second project listed underneath references, then
check the case in the using statement. If that is also correct, check
your UPnPDevice class and see if its access modifier is public. If its
not and its the only class in the second project, the namespace
Intel.UPNP will not be exposed.
Hope this helps.
NuTcAsE
Are you sure that you have the namespace name _exactly_ right?
In your posts so far you've said that it's Intel.UPNP and intel.UPNP.
Someone else posted something about Intel.UPnP.
Remember that C# is case sensitive. If the namespace is called
"Intel.UPnP" then you can't type "using Intel.UPNP" with a capital "N"
or C# won't find it. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Amos |
last post by:
My Solution has three different projects: GUI, Api, Match.
Project GUI includes a reference to Match.dll and Project Match includes a
reference to Api.dll . Project Api doesn't include any...
|
by: Daniel |
last post by:
Hi!
I have several projects (approx 50) that includes basically the same
files such as <atlcom.h> and <comdef.h>. The projects are set up to
use a precompiled header wich includes these header...
|
by: nd02tsk |
last post by:
Hello
Why is it that PostgreSQL chooses to have features like replication,
fulltext indexing and GIS maintained by others outside of the sourcetree?
I appreciate any answers.
Thank you.
...
|
by: HKSHK |
last post by:
Hello,
I have this problem:
I wrote some DLLs with VB.Net 2003 which I use with my programs. But I
want to avoid that I have to go down to "DLL hell" and to copy all used
dlls into each program...
|
by: alice |
last post by:
I've been trying for a long time to figure this out, to have a page
with several MP3 clips, and each one having a custom start and stop
button next to them to play the track. I finally found a bit...
|
by: Gari |
last post by:
Dear All,
I’ve been using this forum since three weeks now and I always had the answer to my questions. So this encourages me to use it again but I hope I am not annoying anybody.
I am trying...
|
by: =?Utf-8?B?U2FsYW1FbGlhcw==?= |
last post by:
Hi, I have a user control which I like to use in several projects (winforms)
in the same solution. Inside lets say Winapp1 , When adding a reference to
this control, I can dynamically or statically...
|
by: Vili |
last post by:
Hi all
In windows project I have devided my project in to several projects
with
1 * main project with forms which are common for all my projects (user
forms etc.)
1 * project with my common...
|
by: capella07 |
last post by:
In VS2005 I have a working setup project that installs several CABs with the main app. I also need to have a setup project that only installs the app itself. I created a new setup project and added...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |