On this page....
Archives
<October 2008>
SunMonTueWedThuFriSat
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

Feed your aggregator (RSS 2.0)
Search
Categories
About

My LinkedIn profile

Powered by: newtelligence dasBlog 2.1.8102.813

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012, Christian Bækdorf

Send mail to the author(s) E-mail



Sign In
# Wednesday, October 01, 2008
« DSL and Visual Studio Shell tutorial: Cr... | Main | DSL and Visual Studio Shell tutorial: Cr... »

This post is part of a larger tutorial on DSL Tools and Visual Studio 2008 Isolated Shell, in this post I will go through the steps to add the DSL sample to the Shell application.

Previous step: Creating the Shell application

Adding the DSL projects

We will now add the DSL designer to the Shell application, so if not already open you should open the Shell solution.

1. Adding the Dsl project

Select add existing project and locate the Dsl.csproj and add it to the Shell solution

2. Adding the DslPackage project

Select add existing project and locate the DslPackage.csproj and add it to the Shell solution

3. Resulting solution

The solution should now look as shown below.

4. Setting Shell dependencies

Now set the shell dependencies for the “MyDslShell” project, so the project will depend on “DslPackage”. Right-click “MyDslShell” project and choose “Shell Dependencies…”.

5. Testing the DSL within the Shell application

The Shell application does not yet have the ability to create a new project with a DSL file, but it can open an existing DSL (.mydsl1 file) and display then activate the DSL designer.

You can just create an empty text file with extension “.mydsl1” or open an existing file, such as “D:\project\DslToolsAndVsShell\Code\MyDSLApplication\MyDsl\Debugging\Sample.mydsl1” which is created as part of the DSL.

You should then see your DSL designer running within the Shell application, as shown below.

Summary

This end the fourth post about adding the DSL to the Shell application, next step is about adding a custom project type to the Shell application, so it can create new projects with the DSL.

Next step: Creating a custom project type

Download: DslToolsAndVsShell-04.zip (5 MB)

Wednesday, October 01, 2008 7:36:47 PM (Romance Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [77]  |