Topic:

商友论坛

总页数 1 第 1 页 [共有 1 条记录]


Posted by whidbey on 2005-12-06 12:41
DSL Tools with Visual Studio 2005 RTM

You can get the latest version of DSL Tools from http://msdn.microsoft.com/vstudio/teamsystem/workshop/DSLTools/. It works with the released version of VS2005, And we've got two new features lined up for you as well:

Deployment, where you create a setup project for your designer authoring solution using a new DSL Tools Setup project template, which, when built, will generate a setup.exe and a .msi for installing your designer on another machine on which VS2005 standard or above is installed.

Validation, where it's now possible to add constraints to your DSL definition which can be validated against models built using your designer. Errors and warnings get posted in the VS errors window. We support various launch points for validation - Open, Save, Validate menu, and these are configurable. All the plumbing is generated for you - all you have to do is write validation methods in partial classes - one per domain class to which you want to attach constraints - which follow a fairly straightforward pattern.

We're also going to release our first end to end sample about the same time. The sample is a designer for modelling the flow in Wizard UI's (it's state chart like), from which working code is generated.