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

K

koffieautomaat

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?
 
G

Guest

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
 
K

koffieautomaat

I tried to add the reference but it still doesnt see the class/dll so I
can use it in imports.

BBM schreef:
 
K

koffieautomaat

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.

(e-mail address removed) schreef:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top