Commit Graph

14 Commits

Author SHA1 Message Date
Corentin Le Molgat
0ba343e0cd Fixup F# examples 2018-09-07 16:59:47 +02:00
Corentin Le Molgat
5a55bb655a Update FSharp examples so all use .NetCoreApp2.1 2018-09-07 12:58:26 +02:00
Laurent Perron
1719dc993a remove OptionalIntVar from sat C# API #836 2018-08-31 16:36:17 +02:00
Corentin Le Molgat
e6013f3e6d dotnet: Add test_dotnet_[cf]sharp to test_dotnet 2018-08-31 13:35:13 +02:00
Corentin Le Molgat
42d7c276ab dotnet: rework example layout
- Fix examples using MPConstraint::Activity instead of MPSolver
- Move all examples to exmaples/dotnet
- remove netfx sub-directories
- Add all examples to target test_dotnet
  - still few disabled since they are too long
- Add tools/generate_examples_csproj.sh to generate .*proj files
2018-08-30 11:58:47 +02:00
Corentin Le Molgat
62cbe9a228 dotnet: Full Rework
- Create native project runtime.{rid}.Google.OrTools
  - follow the microsoft convention e.g.:
  https://www.nuget.org/packages/Microsoft.NETCore.App/
  https://www.nuget.org/packages/runtime.linux-x64.Microsoft.NETCore.App/
- Target `make_dotnet` targets local nupkg instead of dll.
- Use 4096 RSA key for or-tools.snk
- Clean nuget cache in `clean_dotnet` recipe

Refactor:
- Move cs files to ortools/*/csharp
- Move dotnet project to ortools/dotnet/Google.OrTools
- Move example generation to temp_dotnet
  - Avoid to mess the `BIN_DIR`
- Rework Google.OrTools.FSharp

Cleanup:
- Remove deps to netfx.props since we only support:
  netstandard2.0 TFM and netcoreapp2.1 Runtime TFM
- Remove OrTools.nuspec.in
  -> use newly added properties to .csproj format
- Remove of ortools/dotnet/OrTools project
  - replaced by ortools/dotnet/Google.OrTools
- Remove provided protobuf.dll.
  - Automatically retrieved from nuget.org

Misc:
- Add **/*.csproj to gitignore
- Add **/runtime.json to gitignore

- dotnet: Makefile windows fix
  - make.exe doesn't support `else ifeq`
2018-08-30 11:58:47 +02:00
Corentin Le Molgat
242a7714af Cleanup example/dotnet/csharp/a_puzzle.cs 2018-08-16 15:59:11 +02:00
Laurent Perron
0152168fb7 add C# sat code samples in ortools/sat/samples; remove old code_samples_sat.* files 2018-07-17 14:00:18 -07:00
Corentin Le Molgat
ca1c7917c7 dotnet: fixup indentation in tsp.cs 2018-07-17 17:11:41 +02:00
Corentin Le Molgat
d5d4b48657 dotnet: add examples to test_dotnet 2018-07-17 15:03:10 +02:00
Corentin Le Molgat
898e7bc055 dotnet: .Net example update 2018-07-10 14:38:49 +02:00
acco32
87cc1c6d21 fix typo 2018-07-06 12:31:30 -07:00
acco32
6ab609f17b organize examples 2018-07-05 17:51:49 -07:00
acco32
0a822b6617 Add examples for C# 2018-07-03 22:21:35 -07:00