Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » dsl tools   (RSS)

Duh! InitializeShapeFields is only invoked once!

Beware!!! The method InitializeShapeFields appears in each shape class that is generated by the DSL tools. However, this method is only invoked ONCE per shape. It is due to this code /// <summary> /// Per-class ShapeFields for this shape. /// </summary>

Auto Layout Diagram

In the DSL project I am working on, I am performing layout for the model diagram myself. This problem mostly arises because we want two-way synchronization between model and code. Hence, after one of our users has modified the diagram by hand, if we update

64 Bits and DSL Tools

The DSL projects created by the DSL package wizard are configured to target AnyCPU .However, if you write a command line tool that references the generated DSL library, you should set up your project to target x86 even if you are working on a 64-bit machine.
 
Page view tracker