Adding Castle.Core dependency back in
Minor refactor
ILMerge in Castle.Core