title | description | author | ms.author | ms.prod | ms.date | ms.topic | keywords |
---|---|---|---|---|---|---|---|
Add Azure Kinect library to your Visual Studio project |
Learn how to add the Azure Kinect NuGet package to your Visual Studio Project. |
wes-b |
wesbarc |
kinect-dk |
06/26/2019 |
conceptual |
kinect, azure, sensor, sdk, visual studio 2017, visual studio 2019, nuget |
This article walks you through the process of adding Azure Kinect NuGet package to your Visual Studio Project.
To install the Azure Kinect NuGet package:
- You can find detailed instructions for installing a NuGet package in Visual Studio in the Quickstart: Install and use a package in Visual Studio.
- To add the package, you can use Package Manager UI by right-clicking References and choosing Manage NuGet Packages from Solution Explorer.
- Choose nuget.org as the Package source, select Browse tab, and search for
Microsoft.Azure.Kinect.Sensor
. - Select that package from the list and install.
Once the package is added, add header file includes to the source code, such as:
#include <k4a/k4a.h>
#include <k4arecord/record.h>
#include <k4arecord/playback.h>
[!div class="nextstepaction"] Now you are ready to build your first application