Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 1.01 KB

enable_repo_nuget.adoc

File metadata and controls

15 lines (8 loc) · 1.01 KB

enable nuget repo

Packages are stored right on nuget.org, so you don’t have to do anything special to setup the repo.

In Visual Studio 2015+ right-click on project name in solution navigator panel and select Manage NuGet Packages…​, install packages from there.

note on VS2019+ and v142+ tools

For v142 tools the library may come in 4 flavours of linking to a runtime library. In that case, when using v142 tools (VS2019 or above) one needs to set also the runtime library in project master settings:

project properties (right click on project and select properties) → Project Master SettingsC/C++ SettingsRuntime Library.

The value can be one of Multi-threaded, Multi-threaded Debug, Multi-threaded DLL, Multi-threaded Debug DLL. Set the same value is in your project propertiesC/C++Code GenerationRuntime Library.

If Project Master Settings/C/C++ Settings/Runtime Library is not set you will get linking errors when building your project.