-
-
Notifications
You must be signed in to change notification settings - Fork 335
Setup
If you are just using the GeneticSharp library, you don't need any setup, just install the NuGet package.
If you are using the .netstandard2.0 version, remember to install the latest .NET Core SDK from https://www.microsoft.com/net/download/
If you download the whole repository and you want to use the sample app GeneticSharp.Runner.GtkApp, you need to install the latest Mono version on your machine: http://www.mono-project.com/download/stable/.
Install Mono and GTK# for .NET
Just open the GeneticSharp.sln solution on Visual Studio for your platform:
- Mac: Visual Studio for Mac
- Windows: Visual Studio 2017
They can be downloaded from https://www.visualstudio.com/downloads/.
dotnet tool install Cake.Tool
Run the command bellow in the root folder of the repository:
dotnet cake
More about Cake: https://cakebuild.net.
If you're trying to run the unit tests on Mac/Linux you'll need to install Libgdiplus, otherwise, you can see the error The type initializer for 'Gdip' threw an exception
while trying to run them.
brew install libgdiplus