Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
In class AssemblyTypeSource, use of Assembly.GetTypes is breaking change #185
In FluentNH 1.2 and prior the class AssemblyTypeSource implemented the ITypeSource.GetTypes method using Assembly.GetExportedTypes. The new implementation in FluentNH uses Assembly.GetTypes.
GetExportedTypes only requires dependent DLLs to be in the application bin directory when types from that DLL are exposed publicly, where GetTypes requires all dependent DLLs to be in the appication's bin directory, even if they are only used privately.
This change in behaviour can be annoying. I'm not sure if it was intended or if there is a work around.
The change to use GetTypes was deliberate. One of the most common beginner
There's also a set of users don't like making their mappings public, and
Happy for there to be an overload/switch somewhere though. I'm undecided on
On Tue, Oct 30, 2012 at 1:19 AM, Gleb Chermennov