Table of Contents

Getting Started: Opening the Solution

In these tutorials and user guides, it is assumed that Visual Studio 2022 is installed. However, newer versions of the IDE and alternative IDEs (such as JetBrains’ Rider) can also be used. Provided they can build the solution and compile the code, the IDE is a user choice and not a requirement.


Accessing the Solution

Editor.CSharp is provided inside Nominal Editor builds (after v0.7) and can be found inside the Nominal Editor folder under the Scripts directory. The source files can be found here and a Visual Studio solution file is provided.

Untitled

To view the solution, open the Editor.CSharp.sln file in Visual Studio (or your IDE of choice). This will show a few example files (which were created using the tutorial provided in this documentation).

Untitled


Dependencies

The solution file already includes any required dependencies that are needed for this project. This includes the reference Nominal simulation libraries. These are denoted by NominalSystems.Library when using them in the C# coding. Additional Nuget libraries may be installed the first time that the project is loaded. The full list of dependencies can be found in the Assemblies section of the Solution Explorer.

Untitled

Warning

If your custom C# code includes additional dependencies that are copied from Nuget, they may need to be added to the Mono folder to ensure that Nominal Editor picks up the additional libraries. More information on this can be found in the user guides.