Stay organized with collections
Save and categorize content based on your preferences.
You can install OR-Tools for .Net either from the NuGet package
manager, build it from source or use the .Net SDK archive.
The NuGet option is easier, so we recommend it unless you plan to modify
the source code or customize the build.
Using NuGet packages
The following guides explain how to use OR-Tools for .Net using the
published NuGet packages:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-28 UTC."],[[["\u003cp\u003eOR-Tools for .NET can be installed via NuGet packages (recommended), building from source (for customization or third-party solvers), or using binary distributions.\u003c/p\u003e\n"],["\u003cp\u003eDetailed installation guides are provided for Linux, macOS, and Windows for each installation method.\u003c/p\u003e\n"],["\u003cp\u003eNuGet package installation is the easiest and recommended approach unless you need to modify source code or utilize third-party solvers.\u003c/p\u003e\n"]]],["OR-Tools for .Net can be installed via NuGet, built from source, or using the .Net SDK archive. NuGet is recommended for ease unless source modification or build customization is needed. Building from source is required for third-party solver integration. Installation guides are provided for each method across Linux, MacOS, and Windows. Each method, including using NuGet packages, building from source, and using binary distributions has a dedicated guide for each operating system.\n"],null,["You can install OR-Tools for .Net either from the NuGet package\nmanager, build it from source or use the .Net SDK archive.\nThe NuGet option is easier, so we recommend it unless you plan to modify\nthe source code or customize the build.\n| **Note:** If you plan to use a third-party solver with OR-Tools, you need to build OR-Tools from source.\n\nUsing NuGet packages\n\nThe following guides explain how to use OR-Tools for .Net using the\npublished NuGet packages:\n\n- [Using NuGet package on Linux](/optimization/install/dotnet/pkg_linux)\n- [Using NuGet package on MacOS](/optimization/install/dotnet/pkg_mac)\n- [Using NuGet package on Windows](/optimization/install/dotnet/pkg_windows)\n\nBuild from Source\n\nThe following guides explain how to build from source OR-Tools for .Net\n:\n\n- [Source installation on Linux](/optimization/install/dotnet/source_linux)\n- [Source installation on MacOS](/optimization/install/dotnet/source_mac)\n- [Source installation on Windows](/optimization/install/dotnet/source_windows)\n\nBinary distributions\n\nThe following guides explain how to install OR-Tools for .Net from a\nbinary distribution:\n\n- [Binary installation on Linux](/optimization/install/dotnet/binary_linux)\n- [Binary installation on MacOS](/optimization/install/dotnet/binary_mac)\n- [Binary installation on Windows](/optimization/install/dotnet/binary_windows)"]]