Introduction
This is the official home for the Microsoft Visual Studio Visualization and Modeling SDK online resources on Code Gallery. Here, you will find the samples for the DSL Tools (Samples do not ship any longer with the Visual Studio SDK), for the Architecture tools extensibliity, you find deep dive documentation, and get links to shared source projects and other resources to help you create Graphical and Form-based Modeling Designers for Visual Studio with the DSL Tools and the architecture tools. This page is maintained by the DSL Tools team at Microsoft. Note that the VSVMSDK is the successor of the DSL SDK (also named DSL Tools). It now includes some content enabling the extensibility of the Architecture tools of the Ultimate edition of Visual Studio 2010.
To download Visualization and Modeling SDK for VS 2010 and VS 2010 SP1, go to Visual Studio 2010 Visualization and Modeling SDKTo download the Visualization and Modeling SDK for Visual Studio 11 Beta, go to Visual Studio 11 Beta Visualization and Modeling SDK Start by reading the Read Me, discovering What's new in the Visualization and Modeling SDK for Visual Studio 2010 and 2010 SP1 (was DSL SDK), reading about the Known Issues, getting more information from the Forum, and downloading the samples for the Samples and Tools for VM SDK for VS 2010 RTM - SP1. All DSL Tools related resources on Code Gallery are tagged with the “DslTools” tag. You may subscribe to the RSS feed to be notified of new DSL Tools resources on Code Gallery. Also, all the samples are written in C#.
Announcements
| 29 February 2012 | VS VM SDK for Visual Studio 11 Beta. The SDK features build tasks for the code index in addition to the DSL tools |
| 20 February 2011 | Link UML elements to diagrams and other files |
| 18 January 2011 | Template for creating MSI setup projects. Allows you to associate a DSL with an XSD, an icon, and a short description which appears in Explorer. Under the Downloads tab, click CreateMsiSetupProject.tt |
| 5 December 2010 | The XMI Exporter sample has been updated to fix a couple of bugs and to improve how profiles are exported as a response to this forum question |
| 19 November 2010 | XMI Exporter This extension enables XMI 2.1 files to be exported from UML models created using VS 2010 |
| 25 October 2010 | Fixed Circuit Diagram sample In a recent update, the DSL diagrams display as XML files. To fix the problem, edit the .csproj files in Notepad and remove <Subtype>Designer<\Subtype> Alternatively, download the sample again. |
| 26 August 2010 | New customization sample |
| 25 August 2010 | Improved documents in MSDN library - part of a gradual improvement program. |
| 1st May 2010 | Fixed a bug in the DslDesignerExtensionForModelBusAuthoring (see the forum question explaining all this) |
| 19 April 2010 | An updated version of the DslTools Lab for VS2010 is now available from DslTools lab on code gallery |
| 12 April 2010 | VsVmSDK available for RTM and we published a new sample DslDesigner extension for modelbus authoring showing how to extend the DslDesigner to provide authoring to enable the modelbus consumption, and expose a DSL to the modelbus |
Requirements
You need to have installed the following products:
Documentation
The Visualization and Modeling SDK's documentation is available from the following pages in the MSDN library Visualization and Modeling SDK - Domain-Specific Languages and Extending UML Models and Diagrams
Discussion and Feedback
Please add comments and questions on the VS2010 Visualization and Modeling Forum. Thanks!
Tools - Visual Studio 2010 (and 2010 SP1)
| Visual Studio ModelBus extension | Different models can now interact with each other, (and with Visual Studio Team System Architecture UML designers), using the ModelBus. A DSL author can choose to generate a ModelBus adapter, that will expose his model to other models or tools. For documentation see Integrating Models using Visual Studio Modelbus |
| DSL Designer Extension | The DslDesigner itself can be extended both using the Domain Model Extensibility, and using a simpler MEF extensibilty. You can thus add domain properties, rules, and also now commands, gestures, validation to the Dsl designer if you wish. |
Code samples and labs - Visual Studio 2010 (and 2010 SP1)
Please also have a look at What's new in this release.
Code samples and labs - previous versions of the DSL Tools
The following are existing samples for previous versions of the DSL Tools
| Name | Description | Version of VS |
| DSL Tools Lab | Lab enabling the beginners to learn how to use the DSL tools in one day | VS 2008 SP1 |
| Text Templating sample | Illustrates various approaches to generating code using the text –templating (T4) engine that ships with the Visual Studio SDK | VS 2008 SP1 |
| DSL Custom Tool sample | This sample shows how to create a custom tool that runs directly against a Domain-Specific Language ("DSL") model file, using T4 to generate the code. This is an alternative to shipping the text template (.tt) files to the end user of the DSL | VS 2008 SP1 |
| Extended DSL Model Explorer | This sample customises the generated model explorer so it remembers which element was selected when the user switches between documents | VS 2008 SP1 |
| DSL Tools End-End Wizard UIP update | This sample contains an updated version of the DSL Tools C# End-End.WizardUIP sample that ships in the VS SDK. This update uses a more sophisticated code generation framework adapted from the the Patterns & Practices Web Service Software Factory: Modeling edition | VS 2008 SP1 |
| DSL Custom Property Editor sample | This sample shows how to use custom property editors to customise the editing of domain properties through the property grid. WARNING breaking changes for VS 2010. Needs update | VS 2008 SP1 |
| DSL Navigation sample | This sample language demonstrates techniques to facilitate navigation in Domain-Specific Language ("DSL") designers (synchronization between diagram and model explorer) | VS 2008 SP1 |
| ExceptionInSerializationWorkaround | | VS 2010 |
Work from the community
|