We recommend using Visual Studio 2017

The DslTextTransform Command


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at The DslTextTransform Command.

DslTextTransform.cmd is a script that calls TextTransform.exe and runs it with common options. You can use DslTextTransformation.cmd to automate a nightly build of your Domain-Specific Language Tools projects. For more information, see Generating Files with the TextTransform Utility.

DslTextTransform.cmd is located in the following directory:

<Visual Studio SDK Installation Path>\VisualStudioIntegration\Tools\Bin

You can specify the following arguments as input to DslTextTransform.cmd:

  • The output directory of the domain model project.

  • The output directory of the designer definition project.

  • The location of the text template file.

DslTextTransform.cmd processes the specified text template file using the default directive processors and assemblies. If you create custom directive processors, you can create your own batch file that calls TextTransform.exe. In this batch file, you can specify your assemblies and the associated custom directive processors.