dsl-tools

Troubleshooting Plk Verification for Visual Studio Package in a VSIP Development Edition

I have a custom domain specific language project which was developed a while back, was deployed and run on the same machine inside the normal Visual Studio hive with no problems. Server has been reinstalled and I'm trying to setup the environment again, so that the normal hive (which is a Visual Studio VSIP Edition SP1, with Visual Stud...

DSL Beta 2 - Connector Moniker - Why is it not in the diagram file?

I am creating a DSL, I want to associate two Entities with a connector but I do not want the EntityMoniker to be in the underlying XML, I need it to be in the Diagram File. I am not sure why it is not in the Diagram file automatically as that seems to be the place where all information 'about' the diagram is held. If I remove the elemen...

What is the best IDE/GUI for my .NET DSL?

Hi folks, As a learning exercise I'm building a basic scientific computation environment based on .NET. I'd like the GUI of the app to be much like matlab, in that I have an interactive window, an objects window and the facility to spawn visualisation windows. Intellisense in my command window would be very nice. It seems visual studio ...

Best Practice for Obfuscating a C# Visual Studio DSL Solution as VSIX

I was wondering if anyone has any advice for obfuscating a DSL? Background - We have created a DSL which we will putting into the Visual Studio Gallery as a VSIX file. We already use dotfuscator for our obfuscation on other projects but I would like to know if there are any best practices or issues when packaging a DSL for deployment a...

How do you include ProjectItem when deploying DSL?

I am using Visual Studio 2010 Beta 2, I want to package and deploy my completed DSL along with the generated ProjectItem. I can see everything has been compiled correctly. I have my VSIX file but that does not include the Zipped Project Item. ...

Why is there no Project Item when Deploying VSIX?

We have a VS2010 Beta 2 DSL Project , We can build, deploy and test on our Development machines and all is well i.e When we go to 'Add New Item' we can select our DSL When it comes to giving the VSIX to someone else to try the ONLY way that they can see the associated Project Item is if they build the DSL Project on their machine, they ...

Adding resources to solution explorer in experimental hive

Hi, I'm currently working on a project using DSL tools in Visual Studio 2008. Is there a way to automatically add a resource into the solution explorer of the experimental hive at runtime? I'm creating new diagrams based on what is on screen, and saving them into the directory the project is stored in. I would like to know if there is ...

DSL Toolkit: How can I get correct elements written in this scenario?

Info: C# , VS2010 Beta 2 , DSL ToolKit Beta 2 I am trying to create the following generated XML in my DSL Diagram when used <Method> ... <FilterDescriptors> <FilterDescriptor Type="Comparison" Name="EmployeeKey" /> </FilterDescriptors> ... </Method> This is how the Method and Filter Descriptor Domain Classes look ...

Permanent node in DSL explorer

In my custom DSL tool I want a node in its Explorer which cannot be removed. Other than that, I want it to be like a regular node. Basically what I want is a node like the Xml Serialization Behavior in the DSL Explorer: Through using Reflector on the XmlSerializationDefinitionSerializer class in the Microsoft.VisualStudio.Modeling.Sdk...

Parsing Documents with a DSL

I'm trying to come up with a way to go through about a million documents which are formal documents (for arguments sake, they are Thesis documents). They are not all standardized but close enough. They are Titles, sections, paragraphs etc. There are subtle differences that might crop up such as in english, we call a title "Title" but in ...

Why is the 'Named Domain Class' tool missing in the DSL Designer category in the toolbox ?

I have the Domain-Specific development with VS DSL Tools book by Cook, Jones, et.all The book and various tutorials online mention a NamedDomainClass tool that should be present in the DSL Designer toolbox. I have installed VS 2010 beta 2 on Win XP - however this tool is missing in the toolbox. I've created a project using the Minimal p...

T4 (Text Template Transformation Toolkit) for generating a set of types based on a list of basic types e.g. PointI32, PointF32 etc. in C#

Similar to http://stackoverflow.com/questions/2222849/boost-preprocessor-library-for-generating-a-set-of-types-based-on-a-list-of-basic I am asking how to generate: struct Point##TYPE_SUFFIX_NAME { TYPE X { get; set; } TYPE Y; { get; set; } // Other code }; for different basic (POD) data types e.g.: PointF32, Poi...

how to configure the vs.net dsl's Rule dynamically

i want to configure the dsl's rule dynamically control the RuleOn dynamically [RuleOn(typeof(Entity),FireTime........] add parameter to Rule with xml file can I inheritance my customBaseRule? how to passing parameters. ...

Transforming TT files in MsBuild

I need to build a DSL Solution using MsBuild and want to be able to transform the TT files, I have tried the guide on http://msdn.microsoft.com/en-us/library/ee847423(VS.100).aspx but I am getting the following errors: Failed to resolve include text for file:{0} and also Loading the include file '{0}' returned a null or empty...

Expand / Collapse Swimlane (Domain Specific Language) C#

I have multiple swimlanes on the surface, Is it possible to have expand / collapse functionality to these swimlanes?. My swimlanes are going to contain different shapes (Image Shapes), Geometry shape etc. I have tried the nesting of a geometry shpes but it only contains the geometry shapes not image shapes i.e. I have already created a...

Using DSL , How to add a child element by rule while adding a parent element

Using DSL, How to add an element based on adding someother element? ...

Update Compartment Shape Outline Color on DragOver in DSL

I am looking to be able to validate if user is looking to make a valid drag drop and have this indicated by the colour of the destination CompartmentShape, I have done the following which gives me the ability to validate correctly, I just need to update the UI public override void OnDragDrop(DslDiagrams.DiagramDragEventArgs e) {...

VS2010 Project Template + VMSDK

For the life of me, I can't get my DSL project to be exported as a template, other than the default ItemTemplate (as in Add New Item) Does anyone happen to have a summary of what has to be done to be able to create a new project? VSTemplate follows. Have tried adding the zip to the VSIX as Content (ProjTemplate) to no avail. <!--DSL To...

Do you know what are the best Domain Specific Languages(DSL) tools for .NET 4.0?

I would like to know what are the best DSL tools created to be used in .NET.? I have googled a bit, but, as I have no experience, I just want to be sure that the one I'm going to use is the best or it is among the best ones. Thanks in advance. ...