Binaries
We produce binaries of our source-tree and compiled assemblies every time anyone commits. These are recommended if you're unable to use Subversion
Subversion repository information and downloads list is available on the main downloads page, and will be updated whenever new releases are available.
First things first, you need to get the source code. Until releases are available, the best way to do this is to do a checkout from Subversion; we recommend this because the source-code isn't in a stable state yet, so it's a good idea to update your copy regularly and this is easiest done if you have a Subversion working copy. Depending on your client, the method of performing a checkout may differ.
Command line
svn co http://fluent-nhibernate.googlecode.com/svn/trunk/ fluent-nhibernate
Tortoise SVN
Right click in a folder and choose SVN Checkout..., from the dialog that appears enter http://fluent-nhibernate.googlecode.com/svn/trunk/
as the URL of repository, then set your checkout location and click OK.
Once you've got a copy on your local machine, there are two ways you can do a build.
InstallGems.bat
from the Fluent NHibernate root directory; this makes sure your machine has all the gems required to build successfully. Once that's completed, and for all subsequent builds, you need to run Build.bat
; this batch file runs our Rake script which builds the standard NHibernate 2.0 version and outputs it in the build
directory. For more options for building, see the details of our Rake Script.src\FluentNHibernate.sln
solution in Visual Studio and do a build, you can optionally run the tests too.Now that you've got Fluent NHibernate built, you just need to reference the FluentNHibernate.dll
and FluentNHibernate.Framework.dll
assemblies in your project.
What next? GettingStarted: First Project