I am using the latest version of Fluent NHibernate (1.2.0.712) retrieved over NuGet. Previously I have used the FluentNHibernate.Mapping.Builders Namespace to create mapping extensions similar to:
public static class MappingExtensions
{
public static PropertyBuilder Text(this PropertyBuilder propertyBuilder)
{
propertyBuilder.Length(10000);
return propertyBuilder;
}
public static PropertyBuilder Money(this PropertyBuilder propertyBuilder)
{
propertyBuilder.CustomType<MoneyUserType>();
return propertyBuilder;
}
}
which could be used as such:
Map(x => x.Price).Money();
I know get the error:
Error 1 The type or namespace name 'Builders' does not exist in the namespace 'FluentNHibernate.Mapping' (are you missing an assembly reference?)
I am referencing the correct assembly. In Reflector and Object Browser I can't find the above namespace but in the source code from GitHub it's there.
Am I missing something obvious?