Files
ortools-clone/examples/dotnet/README.md

18 lines
595 B
Markdown
Raw Normal View History

2018-07-03 22:21:35 -07:00
# Dotnet Core examples
The following examples showcase how to use OrTools.
The project solution has examples for both C# and F#.
2018-07-03 22:21:35 -07:00
We recommend that all projects you create target `netcoreapp2.1`,
as this allows you to compile for various frameworks and
keep up-to-date with the latest frameworks.
2018-07-03 22:21:35 -07:00
Wherever you have or-tools installed, be sure to `PackageReference` the `Google.OrTools`
from the project file.
2018-07-03 22:21:35 -07:00
## Execution
Running the examples will involve compiling them, then running them. You can run the following command:
```bash
dotnet run --project examples/dotnet/<example>.csproj
```
2018-07-03 22:21:35 -07:00