To test your .Net installations, open a x64 Native Tools Command Prompt and navigate to
the directory where you unpacked the binary distribution. Then enter the
following command:
tools\maketest
This runs a selection of examples for OR-Tools. If all the examples run
successfully, you are ready to
get started with OR-Tools.
[[["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 2025-06-05 UTC."],[[["\u003cp\u003eThis guide provides instructions for installing Google's OR-Tools for .Net on Windows 10 64-bit systems using Visual Studio 2022.\u003c/p\u003e\n"],["\u003cp\u003eBefore installation, ensure you have the Microsoft Visual C++ Redistributable for Visual Studio 2022 (x64), .NET Core 3.1 SDK (version 3.1.100 or higher), and .NET 6.0 SDK installed.\u003c/p\u003e\n"],["\u003cp\u003eDownload and extract the OR-Tools binary distribution for Visual Studio 2022 from the provided link.\u003c/p\u003e\n"],["\u003cp\u003eValidate your installation by running a selection of OR-Tools examples using the command \u003ccode\u003etools\\make test\u003c/code\u003e in the extraction directory within an x64 Native Tools Command Prompt.\u003c/p\u003e\n"]]],["This guide details the installation of OR-Tools for .Net on Windows 10 64-bit, specifically for x86_64 architecture. Prerequisites include installing the Microsoft Visual C++ Redistributable for Visual Studio 2022, .NET Core 3.1 SDK, and .Net 6.0 SDK. The installation involves downloading and extracting the binary distribution from the specified link. Validation is performed by opening an x64 Native Tools Command Prompt, navigating to the extracted directory, and running `tools\\make test`.\n"],null,["Introduction\n\nThis guide explains how to install OR-Tools for .Net on Windows.\n\nAlthough these instructions might also work on other Windows variants, we\nhave only tested them on machines meeting the following requirements:\n\n\nWindows 10 64-bit (x86_64) with:\n\n- Microsoft Visual Studio Enterprise 2022\n- Microsoft Visual Studio Community 2022 Preview 2 or above\n\n\u003cbr /\u003e\n\n| **Note:** OR-Tools only provides archives for the **x86_64** (also known as **amd64**) architecture.\n\nPrerequisites\n\nThe following sections describe the prerequisites for installing OR-Tools.\n\nMicrosoft Visual C++ Redistributable\n\nYou must have the\n[Microsoft Visual C++ Redistributable for Visual Studio 2022](https://visualstudio.microsoft.com/downloads/?q=Visual+C%2B%2B+Redistributable+for+Visual+Studio) (select the x64 version) installed\non your computer, since OR-Tools library for .Net is a wrapper for the\nC++ native library.\n\n.NET Core 3.1 SDK\n\nYou must install the package .NET Core 3.1 SDK version 3.1.100 or higher from\nthe following location:\n[sdk-3.1.425-windows-x64-installer](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-3.1.425-windows-x64-installer)\n\n.Net 6.0 SDK\n\nYou must install the package .NET 6.0 SDK from\nthe following location:\n[sdk-6.0.403-windows-x64-installer](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.403-windows-x64-installer)\n\nInstalling OR-Tools\n\nTake the following steps to install the OR-Tools library for .Net:\n\nDownload and extract the binary distribution for your system:\n\n\n- [Visual Studio 2022](https://github.com/google/or-tools/releases/download/v9.12/or-tools_x64_VisualStudio2022_dotnet_v9.12.4544.zip)\n\n\u003cbr /\u003e\n\nValidate your installation\n\nTo test your .Net installations, open a x64 Native Tools Command Prompt and navigate to\nthe directory where you unpacked the binary distribution. Then enter the\nfollowing command:\n\n\n tools\\make test\n\n\u003cbr /\u003e\n\nThis runs a selection of examples for OR-Tools. If all the examples run\nsuccessfully, you are ready to\n[get started with OR-Tools](../../introduction/dotnet)."]]