You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package is binary distribution of [libdatadog](https://github.com/DataDog/libdatadog). It supports both native (C/C++) and .NET projects.
6
+
7
+
## Getting started
8
+
9
+
### Native (C/C++) projects
10
+
11
+
For Native projects, `libdatadog` supports both static and dynamic linking. The dynamic linking is the default option. To use the static linking, you need to disable the dynamic linking by setting the msbuild property `LibDatadogDynamicLink` to `false`. Both `debug` and `release` congfiguration libraries are provided to allow better debugging experience.
12
+
13
+
Depending on the target platform, binaries are compied to project output directory.
14
+
15
+
### .NET projects
16
+
17
+
For .NET projects, `libdatadog` supports only dynamic linking targetting .NET Standard 2.0.
18
+
19
+
Depending on the target platform, binaries are copied to project output directory under `runtimes` directory as per [.NET conventions](https://learn.microsoft.com/en-us/nuget/create-packages/native-files-in-net-packages#native-assets) (`runtimes/{RID}/native`).
20
+
21
+
> [!IMPORTANT]
22
+
> `nuget` fails to resolve the shared library if same directory is not used in the nuget package and the project output directory. Hence, only `release` configuration is supported for .NET projects.
0 commit comments