opentelemetry-dotnet-instru.../docs/internal/native-dependencies.md

1015 B

Native dependencies

fmt

Setup

Package is acquired via Microsoft vcpkg

  1. Setup vcpkg

  2. Install static fmt packages

        .\vcpkg install fmt:x86-windows-static
        .\vcpkg install fmt:x64-windows-static
    
  3. Find packages in vcpkg\packages and copy to opentelemetry-dotnet-instrumentation\src\OpenTelemetry.AutoInstrumentation.Native\lib

spdlog

Setup

Package is acquired via Github release.

  1. Download source code (zip) from release
  2. Copy src and include to opentelemetry-dotnet-instrumentation\src\OpenTelemetry.AutoInstrumentation.Native\lib\spdlog
  3. Resync src files and references in opentelemetry-dotnet-instrumentation\src\OpenTelemetry.AutoInstrumentation.Native\OpenTelemetry.AutoInstrumentation.Native.vcxproj