Fixed problem with Castle.Core reference