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

20 lines
609 B
Markdown
Raw Permalink Normal View History

# .NetCoreApp examples
2022-10-05 18:33:10 +02:00
2021-05-20 17:54:57 +02:00
The following examples showcase how to use OrTools.<br>
2022-04-05 12:30:47 +02:00
The project solution has examples for C#.
2018-07-03 22:21:35 -07:00
2025-05-12 12:57:50 +02:00
We recommend that all projects you create target `net8.0`,
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
2021-05-20 17:54:57 +02:00
## Execution
Running the examples will involve building them, then running them.<br>
You can run the following command:
```shell
2018-11-08 10:21:52 +01:00
dotnet build <example>.csproj
dotnet run --no-build --project <example>.csproj
```