How to Automate Transform All Templates
You can avoid having to click Transform All Templates when you have updated your DSL Definition file. You have to update each of your project files to do this.
To automate Transform All Templates
In Solution Explorer, right-click a project, and then click Unload Project.
Right-click the project and click Editproject.
The .csproj file opens in the XML editor.
Search for this line:
Change false to true.
Save and close the file.
In Solution Explorer, right-click the project and then click Reload Project.
In your DSL solution, you must do this for the Dsl and DslPackage projects, as well as for any other project that contains text transform files, such as a Model Bus Adapter project.
Whenever you update your DSL Definition file in future, text transformation will happen automatically when you build the solution. It will not occur if the DSL Definition file has not changed. It is no longer necessary to click Transform All Templates.
If your code is under source control, you should be aware that building the solution might result in your code files being checked out.