Wednesday, April 04, 2012 8:57 AM
I defined my DSL (metamodel) in Visual Studio. Then when I hit RUN, the experimental hive starts. Within those I may build up a model regarding my defined metamodel.
So my question is. Is it possible to export the experimental enviroment to use it as some kind of standalone editor? I want to give the editor to someone else to build the model. But he should not be able to change the DSL (which I defined in Visual Studio). He should only use the DSL in an editor (like visual studio experimental hive).
So my question is. How may I achieve this?
Thank you and best regards,
Wednesday, April 04, 2012 12:05 PM
You can run the DSL in Visual Studio Shell, which is a cut-down version of Visual Studio that is intended just for running extensions in this way. Your colleague installs Visual Studio Shell, then installs your DSL.
- Proposed As Answer by Alan Cameron Wills - MSFT Wednesday, April 04, 2012 12:05 PM
Wednesday, April 04, 2012 2:54 PM
Thanks for your reply.
I tried die install the VSIX file into the isolated shell.
Thursday, April 12, 2012 3:42 PMOwner
This is the name that you gave when you created your isolated shell.
This page might help you : http://msdn.microsoft.com/en-us/library/ee410094.aspx
- Proposed As Answer by Jean-Marc PrieurMicrosoft Employee, Owner Thursday, April 12, 2012 3:42 PM
Tuesday, April 17, 2012 7:42 AM
ok. I tried but I don't understand the workflow.
I created a DSL in Visual Studio 2010.
The project contains packages "Dsl" and "DslPackage". Now I want to export the DSL via VSIX file to a target computer. So I installed the isolated shell runtime on the target computer and tried to doubleclick the VSIX. Without success.
Then I created a new Visual Studio Shell Isolated project and copied the Release folder to the target computer. Also no success in starting the shell there.
So, please can someone give me a walkthrough on how to get an isolated shell running on another computer with my created DSL included?
Tuesday, April 17, 2012 9:11 AMOwner
There is a specific walkthrough on MSDN:
However this assumes you understand the basics of what is means to deploy in the isolate shell. There is quite a lot of other documentation directly or indirectly linked from that page which you should read for background understanding.
- Proposed As Answer by Blair McGMicrosoft Employee, Owner Tuesday, April 17, 2012 9:11 AM
Tuesday, April 17, 2012 2:22 PM
thanks for the walkthrough. But I stuck again. I created the shell project, added the DSL projects and now I'm stuck at point 4 (Add a file to the solution and name it Example.ftree ...). The started isolated shell is empty. I may only go to File->New->Project. There only an empty project appears.
However. When I add a file to the empty project I can't name it. E.g. textfile1.txt. If I add this file, I can't rename it. I don't know, whats going wrong. Maybe the documentation is outdated? E.g. the point "shell dependencies" don't exist in Visual Studio 2010 anymore. I tried it with references. But the result is the same.
Friday, April 20, 2012 9:24 AMOwner
Are you able to get an isolated shell application working if you take DSL out of the picture, i.e. by doing the basic isolated shell walkthrough?
I think you will need to pursue this through the main VS extensibility forum, however, as we are not experts in isolated shell deployment.