This project has moved. For the latest updates, please go here.

Getting started

When you have Visual Studio, MetaEdit+ and the extension installed, run Visual Studio. To open the extension click from toolbar View | Other Windows | Graph Browser.

visual_studio_show_view_resized.png

The Graph Browser extension tries to connect to the MetaEdit+ API server at startup. If it doesn't find any available connection, it will offer to launch MetaEdit+, start the API server, and login to the repository. This needs some paths and other parameters, which are stored in a 'default.mer' file that is saved in the root of the Visual Studio Projects folder in users My Documenst folder.

visual_studio_edit_parameters_resized.png

When running the extension for the first time there is no 'default.mer' file. In this case the extension tries to find and suggest the correct paths needed for launching MetaEdit+. It shows them to user who can edit and accept them by clicking 'Open MetaEdit+'. Accepting them will open MetaEdit+. If the plugin doesn't show any models after starting MetaEdit+ and its API, try clicking the 'Update Graph List' icon on the plugin's toolbar.

visual_studio_extension_update_button.png

When running, the extension will show the hierarchy of your models from MetaEdit+. The figure below shows the extension listing the 'Digital watch' example models in Visual Studio.

visual_studio_extension_resized.png

In MetaEdit+ 5.0, the Digital Watch example has been updated to show the extensions ability to import generated code into a Visual Studio as Visual C# solution. To see this:
  • Select the top-level graph in the plugin
  • Choose Edit Graph Properties from the pop-up menu and set the Generation target platform to C#: Windows or C#: API
  • Press the extensions Run Autobuild toolbar button.

Last edited Sep 25, 2012 at 8:39 AM by stevekmcc, version 4

Comments

No comments yet.