A solution upgrade from vc11 to vc14_xp.
Add the libs to the library path of your application.
Install-Package zlib_v140_xp -Version 18.104.22.168
dotnet add package zlib_v140_xp --version 22.214.171.124
<PackageReference Include="zlib_v140_xp" Version="126.96.36.199"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add zlib_v140_xp --version 188.8.131.52
This version adds a debug lib (zlibd) for libpng that's suffixed the same as this package. Also put it inside a native folder so NuGet doesn't complain about what framework it targets.
A release version of that specfic lib will be made when the need arises.
If you want the complete package to make your own go here:
This package has no dependencies.
This package is not used by any popular GitHub repositories.