- .NET Core 2.0 or any .NET toolset supporting .NET Core 2.0 projects
You can build and run the C# solution in an IDE, or using the .NET Core CLI.
- Open examples.sln in your preferred IDE, configured to use the .NET Core Runtime.
- Run any of the projects in the solution.
dotnet restore
dotnet run
Building and uploading the assembly of this project is not required to use the example C# code for the scenarios shown here in your own project. However, if you wish to see this example in action for yourself, you can use the pre-built assembly included in this repository to run a deployment on your own SpatialOS project:
- Modify the
spatialos.json
file in theblank_project
directory to use the name of your SpatialOS project. - Run
spatial cloud upload blank_project
from theblank_project
directory to upload the pre-built assembly into your project. - Modify the required fields in the
Program.cs
file of the example project in the solution you wish to run. These fields are specified in the comments of the file. - Follow the steps to run the solution using an IDE or the .NET core CLI.
- Please see the SpatialOS documentation