Have tried to run the basic example of the C# code on my PC but when I try to use the following bit of code:
I get the following error:
'make' is not recognized as an internal or external command,
operable program or batch file.
I currently have or tools downloaded in the following path:
C:\Users\LSLla\OneDrive\Documents\Computation\or-tools_VisualStudio2019
Here is my input in the .csproj file:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<LangVersion>7.3</LangVersion>
<TargetFramework>netcoreapp3.1</TargetFramework>
<EnableDefaultItems>false</EnableDefaultItems>
<!-- see https://github.com/dotnet/docs/issues/12237 -->
<RollForward>LatestMajor</RollForward>
<RestoreSources>../../../temp_dotnet/packages;$(RestoreSources);https://api.nuget.org/v3/index.json</RestoreSources>
<AssemblyName>Google.OrTools.BasicExample</AssemblyName>
<IsPackable>true</IsPackable>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<GenerateTailCalls>true</GenerateTailCalls>
</PropertyGroup>
<ItemGroup>
<Compile Include="BasicExample.cs" />
<PackageReference Include="Google.OrTools" Version="9.1.*" />
</ItemGroup>
</Project>
within the .cs file, I am trying to import the following libraries:
using System;
using Google.OrTools.LinearSolver;
Any ideas?
Thanks