Back to Vowpal Wabbit

Native Nuget Packages

nuget/native/readme.md

9.11.21.2 KB
Original Source

Native Nuget Packages

There are native nuget packages available for the core VW libraries and the main command line executable. They can be found as artifacts produced by this CI job.

There is a package available per toolset version and architecture. Currently supported:

  • v141
  • v142

Details of Nuget packages:

  • 64 bit only
  • Static library only (VW does not currently support dynamic linkage)
  • Targeting the multi-threaded dynamically linked runtime
  • Contains artifacts for debug and release mode builds
  • Contains the necessary dependent static libs and headers (fmt, spdlog, zlib, rapidjson)

How to use:

  1. Install the nuget to your package directory
  2. Include the .targets file into your project

For example:

myproj.vcxproj:

xml
<ImportGroup Label="ExtensionTargets">
    <Import Project="$(ProjectDir)packages\VowpalWabbitNative-v142-x64.9.0.0\build\vowpalwabbit.targets" Condition="Exists('$(ProjectDir)packages\VowpalWabbitNative-v142-x64.9.0.0\build\vowpalwabbit.targets')" />
</ImportGroup>

How to build locally

See the build process in the build job