摘要: 从模板读取另一个项目文件。 将 hostSpecific="true" 插入 <#@template#> 指令。 在代码中,使用 this.Host.ResolvePath(filename) 获取文件的完整路径。 从模板调用方法 使用 <#@assembly#> 指令加载程序集,并使用 <#@import#> 设置命名空间上下文。 如果您要编写预处理过的文本... 阅读全文
posted @ 2011-11-18 14:45 抱影无眠 阅读(848) 评论(0) 推荐(0) 编辑