Please follow these instruction in this order:
- Install the following plugins:
LangDoc
TextGenGen
- Right-click the language item in the project explorer
- Trigger
Generate TextGen
- Right-click the language item in the project explorer and select
Rebuild Language CsBaseLanguage
- Then, right-click the whole project in the project explorer and rebuild it as well (we could not have rebuilt it whole in the first place because of errors of not having the language built before)
- Expand the
CsBaseLanguage.build
item in the project explorer - Right-click the
CsBaseLanguage
item with a spider icon - Trigger the option
Run CsBaseLanguage
- The plugin ZIP file is located in the directory hierarchy of the project (go to
build/artifacts/CsBaseLanguage
)
- Go to
File
>Settings
>Plugins
> the Sprocket icon (top right part of the window) >Install Plugin from Disk
- Locate the plugin ZIP file
- Click on the OK button
- Restart your MPS
- Create a new Solution project
- Create a new model
- Right-click your model and select
Model Properties
- Under the tab
Used languages
, add a dependency on the C# base language- Use the plus button on the right
- Type in
CsBaseLanguage
- Select the corresponding item
- Now you can use the root concept
File
after right-clicking your model and selectingAdd
If you want to use the C# standard library:
- Install it as separate plugin called
CsStdLibrary
- Put the models corresponding to C# standard library namespaces (e.g.
System
,System.Collections
) into the dependencies of your model