问题
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