diff --git a/examples/dotnet/SimpleProgram.fs b/examples/dotnet/SimpleProgramFSharp.fs similarity index 89% rename from examples/dotnet/SimpleProgram.fs rename to examples/dotnet/SimpleProgramFSharp.fs index da5cd2322e..1c706e825c 100644 --- a/examples/dotnet/SimpleProgram.fs +++ b/examples/dotnet/SimpleProgramFSharp.fs @@ -16,8 +16,8 @@ open System open Google.OrTools.FSharp open Google.OrTools.LinearSolver -let SimpleProgram = - let svr = Solver.CreateSolver("SimpleProgram", LinearProgramming.GLOP.ToString()) +let SimpleProgramFSharp = + let svr = Solver.CreateSolver("SimpleProgramFSharp", LinearProgramming.GLOP.ToString()) // Create the variable x and y. let x = svr.MakeNumVar(0.0, 1.0, "x") @@ -35,6 +35,6 @@ let SimpleProgram = [] let main = - SimpleProgram + SimpleProgramFSharp exit 0 // [END program] diff --git a/examples/dotnet/SimpleProgram.fsproj b/examples/dotnet/SimpleProgramFSharp.fsproj similarity index 92% rename from examples/dotnet/SimpleProgram.fsproj rename to examples/dotnet/SimpleProgramFSharp.fsproj index 618b1a12b4..d4c6f8737c 100644 --- a/examples/dotnet/SimpleProgram.fsproj +++ b/examples/dotnet/SimpleProgramFSharp.fsproj @@ -13,7 +13,7 @@ - + diff --git a/makefiles/Makefile.dotnet.mk b/makefiles/Makefile.dotnet.mk index 74d91fb6b0..ab78c98dab 100644 --- a/makefiles/Makefile.dotnet.mk +++ b/makefiles/Makefile.dotnet.mk @@ -476,7 +476,7 @@ test_dotnet_tests: \ .PHONY: check_dotnet_examples # Build and Run few C++ Examples (located in examples/cpp) check_dotnet_examples: \ rdotnet_SimpleProgram.cs \ - rdotnet_SimpleProgram.fs + rdotnet_SimpleProgramFSharp.fs .PHONY: test_dotnet_examples # Build and Run all .Net Examples (located in examples/dotnet) test_dotnet_examples: \