The Domain-Specific Language Designer includes validation functionality, which can determine whether any errors are present against known constraints or multiplicities that you, as the language author, have configured. The Domain-Specific Language Designer validates a diagram automatically when you save the project. You can also manually validate your diagram by using either of the methods in the following procedure.
To validate a diagram
In the Domain-Specific Language Designer, right-click a blank area of the diagram, and click Validate All.
In Solution Explorer, click the Transform All Templates button.
When you perform either of these procedures, any validation errors appear in the Output and Error List windows. By double-clicking an error in the Error List window, you can almost always display the underlying issue for corrective action.
See Also
Concepts
Common Tasks (Domain-Specific Language Designer)