You may have seen this lovely exception before;
System.Exception: An exception has been encountered in setting up the test SQLite database.
---> NHibernate.HibernateException: Could not create the driver from NHibernate.Driver.SQLite20Driver, NHibernate, Version=184.108.40.20600
---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed..
This happens due to a limitation in the NuGet command line and TeamCity's usage of it. A very dumb hack we've found to make this work correctly is to put a direct reference to a type in the Sqlite library inside one of the unit test classes. No clue why it works, but it does.