When running TextTransform.exe, how to distinguish between TextTemplatingFilePreprocessor and TextTemplatingFileGenerator?

只谈情不闲聊 提交于 2019-12-11 20:08:23

问题


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!


回答1:


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



来源:https://stackoverflow.com/questions/9184710/when-running-texttransform-exe-how-to-distinguish-between-texttemplatingfilepre

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!