Skip to content

Commit

Permalink
Add net462 targeting
Browse files Browse the repository at this point in the history
  • Loading branch information
lahma committed Jul 18, 2024
1 parent ff2d7c3 commit 56a76c5
Showing 1 changed file with 31 additions and 37 deletions.
68 changes: 31 additions & 37 deletions src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj
Original file line number Diff line number Diff line change
@@ -1,51 +1,45 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0</TargetFrameworks>
<IsTrimmable>true</IsTrimmable>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../../assets/ICSharpCode.SharpZipLib.snk</AssemblyOriginatorKeyFile>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net462;net6.0</TargetFrameworks>
<IsTrimmable>true</IsTrimmable>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../../assets/ICSharpCode.SharpZipLib.snk</AssemblyOriginatorKeyFile>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<!-- Nuget specific tags -->
<PropertyGroup>
<Version>1.4.2</Version>
<FileVersion>$(Version).13</FileVersion>
<AssemblyVersion>$(FileVersion)</AssemblyVersion>
<PackageId>SharpZipLib</PackageId>
<Company>ICSharpCode</Company>
<Authors>ICSharpCode</Authors>
<Description>SharpZipLib (#ziplib, formerly NZipLib) is a compression library for Zip, GZip, BZip2, and Tar written entirely in C# for .NET. It is implemented as an assembly (installable in the GAC), and thus can easily be incorporated into other projects (in any .NET language)</Description>
</PropertyGroup>

<!-- Nuget specific tags -->
<PropertyGroup>
<Version>1.4.2</Version>
<FileVersion>$(Version).13</FileVersion>
<AssemblyVersion>$(FileVersion)</AssemblyVersion>
<PackageId>SharpZipLib</PackageId>
<Company>ICSharpCode</Company>
<Authors>ICSharpCode</Authors>
<Description>SharpZipLib (#ziplib, formerly NZipLib) is a compression library for Zip, GZip, BZip2, and Tar written entirely in C# for .NET. It is implemented as an assembly (installable in the GAC), and thus can easily be incorporated into other projects (in any .NET language)</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>http://icsharpcode.github.io/SharpZipLib/</PackageProjectUrl>
<PackageIcon>images/sharpziplib-nuget-256x256.png</PackageIcon>
<RepositoryUrl>https://github.com/icsharpcode/SharpZipLib</RepositoryUrl>
<Copyright>Copyright © 2000-2022 SharpZipLib Contributors</Copyright>
<PackageTags>Compression Library Zip GZip BZip2 LZW Tar</PackageTags>
<NeutralLanguage>en-US</NeutralLanguage>
<PackageReleaseNotes>
Please see https://github.com/icsharpcode/SharpZipLib/wiki/Release-1.4.2 for more information.</PackageReleaseNotes>
<PackageProjectUrl>https://github.com/icsharpcode/SharpZipLib</PackageProjectUrl>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>
<RepositoryUrl>https://github.com/icsharpcode/SharpZipLib</RepositoryUrl>
<Copyright>Copyright © 2000-2022 SharpZipLib Contributors</Copyright>
<PackageTags>Compression Library Zip GZip BZip2 LZW Tar</PackageTags>
<NeutralLanguage>en-US</NeutralLanguage>
<PackageReleaseNotes>
Please see https://github.com/icsharpcode/SharpZipLib/wiki/Release-1.4.2 for more information.
</PackageReleaseNotes>
<PackageProjectUrl>https://github.com/icsharpcode/SharpZipLib</PackageProjectUrl>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'net462' ">
<PackageReference Include="System.Memory" Version="4.5.4" />
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.2" />
</ItemGroup>

<ItemGroup>
<None Include="../../assets/sharpziplib-nuget-256x256.png">
<Pack>True</Pack>
<PackagePath>images</PackagePath>
</None>
</ItemGroup>

<None Include="../../assets/sharpziplib-nuget-256x256.png" Pack="True" PackagePath="images" />
</ItemGroup>

</Project>

0 comments on commit 56a76c5

Please sign in to comment.