我正在尝试重新创建设置项目,如http://subsonicproject.com/docs/Setting_up_SubSonic_3.0
视频中所示我正在使用visual c#2008 express edition并遵循所有步骤,但是出了点问题。
settings.ttinclude如下:
const string Namespace = "WSC";
const string ConnectionStringName = "WSC";
//This is the name of your database and is used in naming
//the repository. By default we set it to the connection string name
const string DatabaseName = "WSC";
//this is a list of tables you don't want generated
string[] ExcludeTables = new string[]{
"sysdiagrams",
"BuildVersion",
};
..我正在添加subsonic.core.dll referense并使用以下设置创建app.config:
我也将t4 templates目录中的ActveDirectory文件夹复制到解决方案中。 .cs文件应该在这里生成,但它们不是。
任何人都可以帮助。
此致
阿德里安
答案 0 :(得分:2)
并不是说SubSonic不能与Express本身一起使用......而且Express不支持T4模板,SubSonic使用这些模板生成你的类。
答案 1 :(得分:1)
显然亚音速3.0不适用于Visual Studio 2008的快速版本。我尝试使用VS 2008的标准版本,一切都运行良好。
任何人都可以确认我的主张。
保持良好的工作
阿德里安