Class Diagram Sample
The Class Diagrams sample demonstrates complex validation and includes an overview document that has detailed implementation notes. For more information, see Adding Validation to Domain-Specific Language Solutions.
注意
This sample includes a ReadMe.htm file that provides a full introduction to the sample. You can open this file in the solution under Solution Items in Solution Explorer.
To build and run the sample
Open the Example.ClassDiagrams.sln solution.
The default location is Drive:\Program Files\Visual Studio 2008 SDK\BuildNumber\VisualStudioIntegration\Samples\ DSLTools\Example.DesignerCustomizations\Example.ClassDiagrams\Example.ClassDiagram.sln.
Press F5 to build the sample, register it in the experimental hive, and start an instance of the Visual Studioexperimental build.
Requirements
To use this sample, you must:
Install Visual Studio 2008.
注意
For a list of the Visual Studio editions that Domain-Specific Language Tools supports, see Supported Visual Studio Editions for Domain-Specific Language Tools.
Install the Visual Studio 2008 SDK.
See Also
Concepts
Samples for Domain-Specific Language Tools