In our tools we simply use O/S association to achieve this.
[HKEY_CLASSES_ROOT\.dsl] @="VisualStudio.Modeling.Sdk.DomainModelDesigner.1.0"
[HKEY_CLASSES_ROOT\VisualStudio.Modeling.Sdk.DomainModelDesigner.1.0] @="Domain Specific Language Designer" "AlwaysShowExt"="1"
[HKEY_CLASSES_ROOT\VisualStudio.Modeling.Sdk.DomainModelDesigner.1.0\DefaultIcon] @="[#DslDesignerDll],0"
You can then insert the icon with the /win32icon flag n the csc compiler.
Gareth Jones - Developer - DSL Tools & Software Factories Platform [MSFT] |