Hello,
I've got an issue, that is, I have a C# assembly which adapts Google OR-tools for use in a .NET solution. The problem is, at the moment of adaptation, I do not want to commit the CPU one way or another, so I leave it "Any CPU".
However, I get compiler errors such as here, which lead me to believe hat OR tools is 64-bit only?
1> Restoring NuGet packages...
1> To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'.
1> All packages listed in packages.config are already installed.
1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "Google.OrTools, Version=1.0.3854.2335, Culture=neutral, processorArchitecture=AMD64", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
1> Football.Constraints.Core -> I:\Source\Kingdom Software\Football\Simulator\Football.Constraints.Core\bin\Debug\Football.Constraints.Core.dll
Is this correct? How can we know this is AMD64, at any level? How can I target "Any CPU", which doesn't get constrained until a service, executable, or otherwise, target environment, unit test, etc, is discovered.
Would you mind clarifying? Or is this something that can be patched about the Google OR tools .NET build?
Thank you...
Best regards,
Michael Powell