I am creating a solution that requires the use of libpng. I installed this library and its dependencies through Visual Studio 2019's Nuget Package Manager, and including <png.h> and using functions and macros from the library does not lead to errors. However, should I try building the solution, I get one LNK2019 error per every reference to the library function or variable. It seems to me that NuGet failed to add the library locations to the linker properties. I have found where are the .lib files located, but I'm lost as to which settings do I adjust so that the Studio looks for, and finds, these files in the NuGet directory.


