Problem with Active Recording and Linq T4 Templates

I started a C # web application project using subsonic 3.0.3 as my DAL and SQLite for the database.

It has no problem when using SimpleRepo, but the problem occurs when I try to use ActiveRecord / Linq T4 templates.

It states that "The System.Data.SQLite metadata file was not found." The settings.ttinclude options is the one provided with the SQLite.ttinclude file and its configuration looks fine, while the other files are of course encouraged to use SQLite.ttinclude. I have also tested them with a SQL Server database and everything goes well.

Also tried looking for it on the net and all I could find was this:

  • Subsonic Google Groups , which asks me to add a reference to System.Data.SQLite at the top of settings.ttinclude. Bad luck.
  • Someone here commented on this issue, and it was answered by validating the connection string, which doesn't seem to be my problem because the app works when I use SimpleRepo.
+2


source to share


1 answer


Is SQLite installed on your computer? You also need a .NET driver for it (this cannot be found).



+2


source







All Articles