Just a quick one, as I just lost an hour on this problem.
If you are trying to set up your environment to run with the above environment, you will likely see the following error message when you try and run your app:
Could not create the driver from NHibernate.Driver.SQLite20Driver, NHibernate, Version=2.1.2.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4.
and deeper in the stack trace:
The IDbCommand and IDbConnection implementation in the assembly System.Data.SQLite could not be found. Ensure that the assembly System.Data.SQLite is located in the application directory or in the Global Assembly Cache. If the assembly is in the GAC, use element in the application configuration file to specify the full name of the assembly.
If like me, you really had added a reference to System.Data.Sqlite.dll, the you need to add the following to your app.config file: