|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Mutiple projects under one solution - can't find a class in the firstI'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? 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? > > 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? > > > > 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? > > > > > > |
|||||||||||||||||||||||