# Native dependencies

## fmt

* Source: <https://github.com/fmtlib/fmt/>
* Version: 9.1.0

### Setup

Package is acquired via [Microsoft vcpkg](https://github.com/microsoft/vcpkg)

1. [Setup vcpkg](https://github.com/microsoft/vcpkg#quick-start-windows)
1. Install static fmt packages

    ```powershell
        .\vcpkg install fmt:x86-windows-static
        .\vcpkg install fmt:x64-windows-static
    ```

1. Find packages in `vcpkg\packages` and copy to `opentelemetry-dotnet-instrumentation\src\OpenTelemetry.AutoInstrumentation.Native\lib`

## spdlog

* Source: <https://github.com/gabime/spdlog>
* Version: 1.11.0

### Setup

Package is acquired via Github release.

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