Imagine the following solution: -Website ABC.com (not Web Application) -BLL (business logic layer in a seperate assembly) -DTO (dto objects in their own assembly) -DAL (data access layer in it's own assembly as well).
- The BLL has a reference to the DAL.
- The BLL has a reference to the DTO layer.
- The Website project references the BLL.
When one compiles the website project, the following DLLs will appear in the BIN directory: BLL.dll DTO.dll DAL.dll
When one goes to preview the site, an error occurs about not having the necessary assembly references... Now if one right clicks on the website project, Add Reference, and explicitly add the reference to the missing assemblies, it will work fine.
It seems to me like ASP.NET pulls the referenced assemblies of the referenced assembly being added/referenced in the website.
Why does one need to add explicit references to the references of the references... ? Sorry if I'm not wording this correctly or if it confusing.
Any answer or thoughts are appreciated.