Home All Groups Group Topic Archive Search About

Mutiple projects under one solution - can't find a class in the first

Author
25 Jun 2006 9:33 AM
koffieautomaat@gmail.com
I've made one solution containing two projects.
The first projects contains a control libary (dll) with a reusable
class.
The other projects contains  a from which i wanna talk to the dll made
by the first project.
I've set the dependency from the other project to the first with the
solution explorer.

Only the Intellisense can't find the class in the list?
What am I doing wrong?

Author
25 Jun 2006 1:03 PM
BBM
Even though you've referenced the dll in the application project "References"
page (top part of the page), you still have to either check the block for the
DLL in the lower half of the property page (the Project-level "Imports"), or
you have to use the "Imports" statement in your application code.

HTH

BBM

Show quoteHide quote
"koffieautom***@gmail.com" wrote:

> I've made one solution containing two projects.
> The first projects contains a control libary (dll) with a reusable
> class.
> The other projects contains  a from which i wanna talk to the dll made
> by the first project.
> I've set the dependency from the other project to the first with the
> solution explorer.
>
> Only the Intellisense can't find the class in the list?
> What am I doing wrong?
>
>
Author
28 Jun 2006 5:43 PM
koffieautomaat@gmail.com
I tried to add the reference but it still doesnt see the class/dll so I
can use it in imports.

BBM schreef:

Show quoteHide quote
> Even though you've referenced the dll in the application project "References"
> page (top part of the page), you still have to either check the block for the
> DLL in the lower half of the property page (the Project-level "Imports"), or
> you have to use the "Imports" statement in your application code.
>
> HTH
>
> BBM
>
> "koffieautom***@gmail.com" wrote:
>
> > I've made one solution containing two projects.
> > The first projects contains a control libary (dll) with a reusable
> > class.
> > The other projects contains  a from which i wanna talk to the dll made
> > by the first project.
> > I've set the dependency from the other project to the first with the
> > solution explorer.
> >
> > Only the Intellisense can't find the class in the list?
> > What am I doing wrong?
> >
> >
Author
1 Jul 2006 11:49 AM
koffieautomaat@gmail.com
That's weird. I figured it out.

You can add reference add solution level and on project level.
I must not reference the project at the project at self. But only at
the solution.
When I do that it will show using the imports. It is not possible when
you add them both.

koffieautom***@gmail.com schreef:

Show quoteHide quote
> I tried to add the reference but it still doesnt see the class/dll so I
> can use it in imports.
>
> BBM schreef:
>
> > Even though you've referenced the dll in the application project "References"
> > page (top part of the page), you still have to either check the block for the
> > DLL in the lower half of the property page (the Project-level "Imports"), or
> > you have to use the "Imports" statement in your application code.
> >
> > HTH
> >
> > BBM
> >
> > "koffieautom***@gmail.com" wrote:
> >
> > > I've made one solution containing two projects.
> > > The first projects contains a control libary (dll) with a reusable
> > > class.
> > > The other projects contains  a from which i wanna talk to the dll made
> > > by the first project.
> > > I've set the dependency from the other project to the first with the
> > > solution explorer.
> > >
> > > Only the Intellisense can't find the class in the list?
> > > What am I doing wrong?
> > >
> > >