Visual Studio 2010 Domain-Specific Languages (DSL) & Modeling Tools Extensibility
Discuss the Microsoft Domain-Specific Language (DSL) Tools and extending the architecture and modeling tools for Visual Studio 2010
Announcements
Creating a VSIX project to extend UML - workarounds
Alan Cameron Wills -MSFTMonday, October 26, 2009 9:00 PMWhen you create a new VSIX project (for example to extend UML tools), you need to perform two workarounds to make the extension work. You should only need these in the Beta 2 release of Visual Studio 2010 Ultimate.
1. Error when adding a MEF Component to source.extension.vsixmanifest.
Issue:
For many types of extension, you need to define your project as a MEF component. You open the VSIX manifest, open the Add Content dialog, and set your project as the source. This procedure is described in How to Define and Install a Modeling Extension. But when try to do this, you see an error message: "Adding 'project' as a project-to-project reference would cause this project to reference itself."
Workaround: Edit the manifest as XMLIn Solution Explorer, right-click source.extension.manifest and then click View Code.
This opens the file in the XML editor.
Inside the <Content>…</Content> node near the end of the file, insert:
<MefComponent>|YourProjectName|</MefComponent>
Notice the vertical bar characters at each side of your project name.
2. Installing your extension has no effect. The assembly is not included in the VSIX file.
Issue:
When you build and install the VSIX file, everything appears to go smoothly, except that the extension functionality does not appear in your models. If you open the VSIX file by changing its extension to .zip, the reason becomes apparent: there is no .dll in there.
Workaround:In Solution Explorer, right-click the VSIX project file and click Unload Project.
Then right-click again and click Edit YourProject.csproj.
In the text editor, look for this line and change “false” to “true”:
<IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer>
Save the file, then right-click Reload Project.
Rebuild the project.
3. Custom toolbox items are not included in a VSIX file.
Issue:
When you build and install the VSIX file, the custom toolbox item does not appear in the target installation. If you open the VSIX file by changing its extension to .zip, it does not contain a .tbxinfo file.
Fix:In Solution Explorer, right-click the .tbxinfo file and click Properties.
In the Properties window, set Include in VSIX to true.
Repeat this for the diagram files.
These workarounds need only be applied once to each VSIX project.
Filtering and SortingUse these options to narrow down the question and discussion list.
- 0246

DSL SDK Beta 2 for Visual Studio 2010 is available
Esther FanMSFTThursday, October 22, 2009 10:14 PM - 04

Upgrade DSL Package from 2008 to 2010 Beta 2
etrich 2 hours 27 minutes ago - 039

One too many element tags for my liking :)
Phill Duffy Tuesday, November 24, 2009 3:34 PM - 3329

Deploying ProjectItem with DSL
Phill Duffy Friday, November 13, 2009 2:45 PM - 4572

DSL Tools: Layout and Large-Graph visualization a-la DGML
George Mathew Thursday, November 05, 2009 3:02 PM - 2140

Is it possible to obfuscate a DSL VSIX?
Phill Duffy Thursday, November 12, 2009 10:59 AM - 3143

Deploying VSIX DSL Issue
Phill Duffy Tuesday, November 17, 2009 11:21 AM - 3181

Empty Toolbox for DSL Tools Diagram after installing the setup created by Wix3.5
Randy Xu Tuesday, November 10, 2009 8:19 AM - 5170

Any documents or Example about the "DslLibrary" feature indroduced in VS2010?
FengChen Wednesday, November 11, 2009 6:00 AM - 2312

Removing Context Menus default commands
Phill Duffy Tuesday, October 27, 2009 3:32 PM - 6762

DSL Beta 2 - Connector Moniker - Why is it not in the diagram file?
Phill Duffy Friday, October 23, 2009 9:10 AM - 0278

Blogs about DSL Tools and extending the modeling tools in Visual Studio 2010
Esther FanMSFTMonday, October 26, 2009 11:55 PM - 9926

Empty Toolbox for DSL Tools Diagram in experimental hive
MatthiasRink Wednesday, October 21, 2009 7:32 AM

