J'ai fait un projet C#, et pourrait Couramment configurer pour SQLite sans même ajouter une référence à System.Data.SQLite.dll. Maintenant, lors d'une tentative d'un projet VB.NET , avec ou sans la référence, je reçois unFluentNHibernate; SQLite; FileNotFoundException (System.Data.SQLite)
FileNotFoundException: Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. The system cannot find the file specified.
Est-ce NHibernate ou FluentNHibernate la recherche de ce dll (?) Et comment se fait ils ne regardent pas les references? Ou qu'est-ce qui me manque?
BTW, il y a someting appelé "FusionLog", qui dit:
=== 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.
Merci! Je ne savais pas qu'ils avaient besoin de CopyLocal, et l'avait comme faux. – bretddog