What is NuGet?
From the NuGet website:- NuGet is a Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.
- When you install a package, NuGet copies files to your solution and automatically makes whatever changes are needed, such as adding references and changing your app.config or web.config file. If you decide to remove the library, NuGet removes files and reverses whatever changes it made in your project so that no clutter is left.
How to add the C++ REST SDK to a project using NuGet
- Open Visual Studio and create a new project or open an existing project.
- Go to Tools > Extensions and Updates, and make sure that the NuGet Package Manager installed and it is version 2.5 or later. (If not, you can install and update the NuGet manager from this window)
- Right click on the project and select Manage NuGet Packages. From this window you can add, remove and update packages.
- Search for the C++ REST SDK/Casablanca and click install
- That's it! The SDK is installed and the project properties have been set for you. You can install NuGet packages on Visual Studio 2010 and 2012.
Note: Currently the NuGet packages for C++ are cached on a per-solution basis. If you would like support for global package installation, please voice your feedback on the NuGet discussion forum