Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

AnyCPU build includes two dlls, x64 and x86 (that's why the build takes longer). AnyCPU build requires both x86 and x64 JDK installed.

ignite.jni.dll requires corresponding (x64 or x86) JDK at compile time and JRE at run time.

...

x64 and x86 solution configurations rely on normal build process where C++ projects are built as dependencies. AnyCPU build, however, uses "build-common.ps1" PowerShell script as a pre-build event of Apache.Ignite.Core project to build C++ parts as both x64 and x86.

Build Script

There is a build.ps1 file in modules/platforms/dotnet folder (and build.bat that just calls build.ps1 so you don't have to run PowerShell manually).

This build script performs end to end build, including Java, .NET and NuGet. NuGet can be built only in AnyCPU mode (which requires both x64 and x86 JDK installed).

To build everything and produce release binaries (in bin folder) and NuGet packages (in nupkg folder), run the script without parameters.