I am using NHibernate at Class Library project. And at attempt to exec Unit tests all database related methods works fine. But when I am trying to use this dll file at say console application I am getting an exception: "An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail."
Final message: "'FluentNHibernate.Automapping.IAutoClasslike, ProjectRelese, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is missing a parameterless constructor."
How it could be possible that the same code works at Nunit and does not work at application side from dll?