| 1 |
<Project Sdk="Microsoft.Build.NoTargets/3.5.6"> |
| 2 |
|
| 3 |
<PropertyGroup> |
| 4 |
<TargetFramework>net6.0</TargetFramework> |
| 5 |
<PackageId>madler.zlib.redist</PackageId> |
| 6 |
<PackageId Condition="$([MSBuild]::IsOSPlatform('Windows'))">$(PackageId).win</PackageId> |
| 7 |
<PackageId Condition="$([MSBuild]::IsOSPlatform('Linux'))">$(PackageId).linux</PackageId> |
| 8 |
<PackageId Condition="$([MSBuild]::IsOSPlatform('OSX'))">$(PackageId).osx</PackageId> |
| 9 |
<Copyright>(C) 1995-2026 Jean-loup Gailly and Mark Adler</Copyright> |
| 10 |
<version>1.3.2</version> |
| 11 |
<PackageDescription>NuGet Package for consuming native builds of zlib into .NET without complexity.</PackageDescription> |
| 12 |
<PackageReadmeFile>README</PackageReadmeFile> |
| 13 |
<!-- |
| 14 |
Warns about not having any lib or ref assemblies (.NET Assemblies) in those directories. |
| 15 |
Native only packages that is to be consumed in .NET should not require these. |
| 16 |
--> |
| 17 |
<NoWarn>NU5128</NoWarn> |
| 18 |
<PackageOutputPath>$(MSBuildProjectDirectory)</PackageOutputPath> |
| 19 |
<Authors>Jean-loup Gailly and Mark Adler</Authors> |
| 20 |
</PropertyGroup> |
| 21 |
|
| 22 |
<ItemGroup> |
| 23 |
<None Include="../../LICENSE" Pack="true" PackagePath="" /> |
| 24 |
<None Include="../../README" Pack="true" PackagePath="" /> |
| 25 |
<!-- Package up Windows builds. --> |
| 26 |
<None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/x86/ZlibDll$(Configuration)/zlibwapi.dll" Pack="true" PackagePath="runtimes/win-x86/native" /> |
| 27 |
<None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/x64/ZlibDll$(Configuration)/zlibwapi.dll" Pack="true" PackagePath="runtimes/win-x64/native" /> |
| 28 |
<None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/arm/ZlibDll$(Configuration)/zlibwapi.dll" Pack="true" PackagePath="runtimes/win-arm/native" /> |
| 29 |
<None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/arm64/ZlibDll$(Configuration)/zlibwapi.dll" Pack="true" PackagePath="runtimes/win-arm64/native" /> |
| 30 |
<!-- Include debug symbols as well as we never know if they might actually be needed in the future. --> |
| 31 |
<None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/x86/ZlibDll$(Configuration)/zlibwapi.pdb" Pack="true" PackagePath="runtimes/win-x86/native" /> |
| 32 |
<None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/x64/ZlibDll$(Configuration)/zlibwapi.pdb" Pack="true" PackagePath="runtimes/win-x64/native" /> |
| 33 |
<None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/arm/ZlibDll$(Configuration)/zlibwapi.pdb" Pack="true" PackagePath="runtimes/win-arm/native" /> |
| 34 |
<None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/arm64/ZlibDll$(Configuration)/zlibwapi.pdb" Pack="true" PackagePath="runtimes/win-arm64/native" /> |
| 35 |
<!-- Package up Linux builds. --> |
| 36 |
<None Condition="$([MSBuild]::IsOSPlatform('Linux'))" Include="./linux-x86/libz.so" Pack="true" PackagePath="runtimes/linux-x86/native" /> |
| 37 |
<None Condition="$([MSBuild]::IsOSPlatform('Linux'))" Include="./linux-x64/libz.so" Pack="true" PackagePath="runtimes/linux-x64/native" /> |
| 38 |
<None Condition="$([MSBuild]::IsOSPlatform('Linux'))" Include="./linux-arm/libz.so" Pack="true" PackagePath="runtimes/linux-arm/native" /> |
| 39 |
<None Condition="$([MSBuild]::IsOSPlatform('Linux'))" Include="./linux-arm64/libz.so" Pack="true" PackagePath="runtimes/linux-arm64/native" /> |
| 40 |
<!-- Package up MacOS builds. --> |
| 41 |
<None Condition="$([MSBuild]::IsOSPlatform('OSX'))" Include="./osx-x64/libz.dylib" Pack="true" PackagePath="runtimes/osx-x64/native" /> |
| 42 |
<None Condition="$([MSBuild]::IsOSPlatform('OSX'))" Include="./osx-arm64/libz.dylib" Pack="true" PackagePath="runtimes/osx-arm64/native" /> |
| 43 |
</ItemGroup> |
| 44 |
|
| 45 |
</Project> |