Put NHibernate in some common place like
C:\Program Files\NHibernate, not in your app's bin directory.
NHibernate.dll does not find its friends automatically. You need to manually add the references for any DLL that NHibernate.dll would need from your biz logic project; that typically includes at least log4net.dll and Iesi.Collections.dll. If your app complains about missing DLLs, just keep adding references to the missing DLL until there is no more such complain.
I typically set up my solution this way (not necessarily
the right way, but
a way):
Code:
Solution Directory
|-- lib
|-- NHibernate (a copy of all DLLs)
|-- Other Library
|-- Project 1
|-- Project 2
|-- ...
|-- Project n
The projects will reference
..\lib\NHibernate\NHibernate.dll and other DLLs that NHibernate depends on. When you compile your solution, VS2005 will empty your bin directory and re-copy the DLLs from
..\lib\NHibernate.