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