运行TextTransform.exe时,如何区分TextTemplatingFilePreprocessor和TextTemplatingFileGenerator? [英] When running TextTransform.exe, how to distinguish between TextTemplatingFilePreprocessor and TextTemplatingFileGenerator?

查看:195
本文介绍了运行TextTransform.exe时,如何区分TextTemplatingFilePreprocessor和TextTemplatingFileGenerator?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行TextTransform.exe时,如何区分TextTemplatingFilePreprocessor和TextTemplatingFileGenerator? 我不能像大多数人所指的那样使用msbuild,所以我在寻找特定的东西:如何在命令行中为给定的TT文件运行TextTemplatingFilePreprocessor. 谢谢!

When running TextTransform.exe, how to distinguish between TextTemplatingFilePreprocessor and TextTemplatingFileGenerator? I cannot use msbuild as most people refer to, so I'm looking for specific thing: how to run TextTemplatingFilePreprocessor in command line for a given TT file. Thank you!

推荐答案

TextTransform.exe不支持预处理.如果您不能使用msbuild任务(请记住,可以使用msbuild独立任务在其他过程中执行此步骤),则可以编写自定义主机. MSDN上有一个示例,位于 http://msdn.microsoft.com/zh-CN /library/bb126519.aspx

TextTransform.exe doesn't support preprocessing unfortunately. If you can't use the msbuild tasks (remember you can use msbuild standalone to just do this step inside some other process), then you could write a custom host. There's a sample on MSDN at http://msdn.microsoft.com/en-us/library/bb126519.aspx

这篇关于运行TextTransform.exe时,如何区分TextTemplatingFilePreprocessor和TextTemplatingFileGenerator?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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