问题
I need to use the TextTransform tool in a standalone mode. But it doesn't want to run on machines that don't have Visual Studio installed. Has someone figured out how to do this?
回答1:
If you are using this solely on a build machine, then as of Visual Studio 2010, you are licensed to copy the dlls for text templating from the GAC of a Visual Studio installed machine to the build server.
We accidentally omitted the filenames from the buildserver.txt file in Visual Studio 2010 RTM, but we've corrected that for Visual Studio 2010 SP1.
T4 isn't licensed for use on machines other than build servers that do not have Visual Studio installed.
来源:https://stackoverflow.com/questions/4505741/can-the-microsoft-texttransform-utility-be-used-standalone