Question Reference DLL from another project

Budius

Well-known member
Joined
Aug 6, 2010
Messages
137
Location
UK
Programming Experience
3-5
I have 2 projects on my solution: The MainPrj and the AuxPrj

AuxPrj have a reference to a 3rd party DLL and a couple of classes that instantiates objects from the DLL, one of these objects is public.

The MainPrj references the AuxPrj and depends on it (project dependencies).

When I instantiate any of the AuxPrj classes on my main project, the auto-complete (ctrl+space) doesn't show any of the DLLs objects methods or properties.

Is there any option to make it happen? Do I have to reference the DLL from the MainPrj for it to appear ?
 
Do I have to reference the DLL from the MainPrj for it to appear ?
Yes, to use a type you need to reference the assembly that defines it.
 
Back
Top