Subsonic 3 不生成类 [英] Subsonic 3 not generating classes

查看:27
本文介绍了Subsonic 3 不生成类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在所有可能的条件下在 3 个不同的系统上遵循 3 步程序 20 次,无论我做什么都不会生成类.我不断收到以下错误:

I followed the 3 step procedure 20 times on 3 different sytems under all possible conditions and no matter what I do it won't generate the classes. I keep getting the following error:

加载包含文件SQLServer.ttinclude"返回空值或空字符串.将不会运行转换.

Loading the include file 'SQLServer.ttinclude' returned a null or empty string. The transformation will not be run.

有什么想法吗?

推荐答案

尝试通过右键单击 -> 添加 -> 现有项目将 .tt 和 .ttinclude 文件添加到 VS 项目,而不是将文件拖到 VS 中.似乎对我产生了影响.

Try adding the .tt and .ttinclude files to the VS project via Right click -> Add -> Existing Item, rather than dragging the files into VS. Seemed to make the difference for me.

这篇关于Subsonic 3 不生成类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆