English 中文(简体)
活性纪录和林克T4模板问题
原标题:Active Record and Linq T4 Templates problem
  • 时间:2009-08-23 17:41:31
  •  标签:

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

It doesn t have any problem when using SimpleRepo, but the problem occurs when I try to use ActiveRecord/Linq T4 templates.

It says "Metadata file System.Data.SQLite could not be found". The settings.ttinclude is the one provided with SQLite.ttinclude file and its config looks ok, and other files are instructed to use SQLite.ttinclude of course. I ve also tested them with an SQL Server database and everything goes fine.

Also tried searching about it on the net and all I could find were these:

  1. Subsonic Google Groups which instructs me to add a reference to System.Data.SQLite to the top of settings.ttinclude. No luck.
  2. Someone at here commented about this issue, and it was answered to check the connection string, which doesn t seem to be my problem, because the app works when I use SimpleRepo.
最佳回答

是否安装在你的机器上? 你们需要。 NET也是其驱动力(可以找到的东西)。

问题回答

暂无回答




相关问题
热门标签