【问题标题】:Subsonic 3.0 setup problems亚音速 3.0 设置问题
【发布时间】:2009-07-14 14:00:06
【问题描述】:

我正在尝试重新创建设置项目,如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 引用并使用以下设置创建 app.config:

我还将在 t4 模板目录中找到的 ActveDirectory 文件夹复制到解决方案。 .cs 文件应该在此处生成,但它们不是。

有人可以帮忙吗?

问候,

阿德里安

【问题讨论】:

    标签: subsonic3


    【解决方案1】:

    并不是说 SubSonic 本身不能与 Express 一起使用...而是 Express 不支持 T4 模板,SubSonic 使用这些模板来生成您的类。

    【讨论】:

      【解决方案2】:

      显然 subsonic 3.0 不适用于 Visual Studio 2008 的 express 版本。我用标准版本的 VS 2008 进行了尝试,一切正常。

      谁能确认我的说法。

      继续努力

      阿德里安

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2010-11-29
        • 2011-01-02
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多