NuGet Package Integration¶
For Visual Studio C++ projects on Windows, restcl is published on nuget.org.
WARNING
Not all dependencies of this package (notable, CTRE) have nuget packages.
We provide the restcl as a nuget to get started but we cannot provide a nuget for ctre-- Please consider using cmake/cpm integration!
Installation¶
Package Manager Console¶
Open the Package Manager Console in Visual Studio and execute:
Visual Studio Package Manager UI¶
- Right-click your project in Solution Explorer and select Manage NuGet Packages...
- Search for
SiddiqSoft.restcl - Click Install.
Visual Studio Project Setup¶
- Open project properties (Project -> Properties).
- Set C++ Language Standard to Preview - Features from the Latest C++ Working Draft (/std:c++latest) or ISO C++23 Standard (/std:C++23).
- Make sure
nlohmann.jsonand required dependencies are restored automatically by NuGet.