I made a C# project, and could Fluently configure for SQLite without even adding a reference to System.Data.SQLite.dll. Now when attempting a VB.NET project, with or without the reference, I get a
FileNotFoundException:
Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. The system cannot find the file specified.
Is it NHibernate or FluentNHibernate looking for this dll (?) And how come they don't look in the references? Or what am I missing..?
Btw, there is someting called "FusionLog", which says:
=== Pre-bind state information === LOG: User = PC\windowslogin LOG: DisplayName = System.Data.SQLite (Partial) LOG: Appbase = file:///(Project folder)./bin/Debug/ LOG: Initial PrivatePath = NULL Calling assembly : NHibernate, Version=3.0.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4. === LOG: This bind starts in default load context. LOG: Using application configuration file: (project folder/name).vshost.exe.Config LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: The same bind was seen before, and was failed with hr = 0x80070002.