次の方法で共有


The DslTextTransform Command

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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.