7z.Libs 26.0.0

dotnet add package 7z.Libs --version 26.0.0
                    
NuGet\Install-Package 7z.Libs -Version 26.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="7z.Libs" Version="26.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="7z.Libs" Version="26.0.0" />
                    
Directory.Packages.props
<PackageReference Include="7z.Libs" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add 7z.Libs --version 26.0.0
                    
#r "nuget: 7z.Libs, 26.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package 7z.Libs@26.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=7z.Libs&version=26.0.0
                    
Install as a Cake Addin
#tool nuget:?package=7z.Libs&version=26.0.0
                    
Install as a Cake Tool

7-Zip libraries [ x86 + x64 ] for unmanaged C/C++,.. and managed .NET, Java,..; File archiver - www.7-zip.org, and other related tools.

7z.Libs is available for everyone starting from 2015. It was designed and distributed specially for vsSolutionBuildEvent and for other related purposes.

Build and Use it Freely! 📑 https://github.com/3F/7z.Libs

Preferences

MSBuild Property / Environment variable native C/C+ .NET Default value Description
NG7zLibsCopyToOutput true To prevent copying into output path, set as false
NG7zLibsDir32bit x86 Custom folder name for 32-bit modules if NG7zLibsCopyToOutput=true
NG7zLibsCopyLicense true Provide .txt licenses along with modules if NG7zLibsCopyToOutput=true
NG7zLibsResolvePublish - true Resolve the Publish target
NG7zLibsRootPkg - Root path to the 7z.Libs package. E.g. path to tools like $(NG7zLibsRootPkg)tools\
NG7zLibsLimitToPlatform - legacy Limit copying x86/x64 modules to specific platform. Values: legacy, true, false
NG7zLibsLimitToPlatform - false Limit copying x86/x64 modules to specific platform. Relies on PlatformTarget

7z.Libs is possible to use in managed projects (.NET, etc.) through Conari engine https://github.com/3F/Conari or SevenZipSharp, and so on.

Package structure

│   .pkg.install.bat      - extra `touch` mode and `use` features (see below)
│   .version              - actual version
├───bin
│   ├───x64
│   └───x86
├───build
│   ├───native
│   ├───net
│   ├───netcoreapp
│   └───netstandard
├───lib
│   ├───net
│   ├───netcoreapp
│   └───netstandard
└───tools
Package Libraries and Tools Size Description Example
7za.dll ~286 - ~406 KB Compact version of 7z.dll library for 7z archives.
7zxa.dll ~159 - ~212 KB Compact version of 7z.dll library for extracting from 7z archives.
7z.dll ~1.25 - ~1.82 MB Full 7-Zip engine for work with all available formats.
hMSBuild.bat ~18 KB hMSBuild to build projects with msbuild tools+ hMSBuild -cs -no-less-15
netfx4sdk.cmd ~11 KB netfx4sdk to build on legacy platforms netfx4sdk -mode sys-or-pkg to support netfx4.0 via sys or pkg
gnt.bat ~7 KB GetNuTool to service NuGet packages including this gnt 7z.Libs to work with the solution level or for manual adding 7z.Libs etc.
vsSolutionBuildEvent.bat ~8 KB vsSolutionBuildEvent bat version for customizing or editing build scripts including 7z.Libs

GetNuTool

GetNuTool simplifies the work at the solution level and more together with .pkg.install feature (see below), for example:

gnt 7z.Libs
gnt 7z.Libs/25.01

Documentation: https://github.com/3F/GetNuTool/?tab=readme-ov-file#tmodes-and-commands

.pkg.install

v1 support in modern 7z.Libs packages compatible with GetNuTool 1.10+

touch mode and use

Syntax: [~] (arch | alias | command) [:filter]

For example,

cmd Description Result
gnt ~7z.Libs All x86 + x64 7z libraries in separate folders x64
├─7z.dll
├─7za.dll
└─7zxa.dll
x86
├─7z.dll
├─7za.dll
└─7zxa.dll
gnt ~7z.Libs -p:use=~ All x86 + x64 7z libraries without subfolder .\7z.x64.dll
.\7z.x86.dll
.\7za.x64.dll
.\7za.x86.dll
.\7zxa.x64.dll
.\7zxa.x86.dll
gnt ~7z.Libs -p:use=x64 All x64 libraries in x64 subfolder x64
├─7z.dll
├─7za.dll
└─7zxa.dll
gnt ~7z.Libs -p:use=~x64 All x64 libraries without subfolders .\7z.dll
.\7za.dll
.\7zxa.dll
gnt ~7z.Libs -p:use=~x64:7z Only x64 7z.dll without subfolder .\7z.dll
gnt ~7z.Libs -p:use=~7z 7z.dll (x64 and x86) without subfolders .\7z.x64.dll
.\7z.x86.dll
gnt ~7z.Libs -p:use=x32 x32 alias to x86 x32
├─7z.dll
├─7za.dll
└─7zxa.dll
gnt ~7z.Libs -p:use=7z 7z.dll (x64 and x86) in separate folders x64
└─7z.dll
x86
└─7z.dll
gnt ~7z.Libs -p:use=~x86:7zxa Only x86 7zxa.dll without subfolder .\7zxa.dll

Note: touch mode is applicable only for GetNuTool v1.10 (or newer) and for 7z.Libs packages at least starting with v26.

  • if you need support for older packages, please submit a request via issue tracker or you can rebuild any old yourself. For example, using --target-version for old v25.01 will be like:
build --target-version 25.1.0

dotnet's Publish

For dotnet projects 7z.Libs packages supports Publish targets. Both Visual Studio (see Publish... in context menu) and MSBuild, for example:

msbuild -t:Publish

Note NG7zLibsResolvePublish resolves this by default. Set NG7zLibsResolvePublish=false to disable if necessary.

7-Zip License

7-Zip is free software distributed under the GNU LGPL (except for unRar code). Read accompanying files ./bin/License.txt and ./bin/License.7za-7zxa.txt or http://www.7-zip.org/ for more information about license.

7z.Libs and tools Licenses

7z.Libs (automated build and package) is available under the MIT License (MIT). 7z.Libs and its various packages may include or reference various software components. ⚠ You must follow their accompanying licenses depending on their use.

./License.txt and ./3rd-party-NOTICES.txt are attached.

7-zip Supported formats

  • Packing / Unpacking: 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM
  • Unpacking only: AR, ARJ, CAB, CHM, CPIO, CramFS, DMG, EXT, FAT, GPT, HFS, IHEX, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, QCOW2, RAR, RPM, SquashFS, UDF, UEFI, VDI, VHD, VMDK, WIM, XAR and Z.
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp is compatible.  netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard is compatible.  netstandard1.0 was computed.  netstandard1.1 was computed.  netstandard1.2 was computed.  netstandard1.3 was computed.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net is compatible.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
native native is compatible. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wp8 was computed.  wp81 was computed.  wpa81 was computed. 
Windows Store netcore was computed.  netcore45 was computed.  netcore451 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on 7z.Libs:

Repository Stars
SteamAutoCracks/Steam-auto-crack
Steam Game Automatic Cracker
Version Downloads Last Updated
26.0.0 1,668 2/22/2026
25.1.0 13,935 8/3/2025
25.0.0 2,761 7/5/2025
24.9.0 11,350 11/30/2024
24.8.1 5,888 11/23/2024
24.7.0 5,280 6/28/2024
24.6.0 3,958 6/7/2024
24.5.0 2,522 5/27/2024
23.1.0 14,266 12/10/2023
22.1.0 2,914 12/10/2023
22.0.0 2,800 12/10/2023
21.7.0 72,091 2/17/2022
21.6.0 32,654 12/14/2021
19.0.2 84,991 6/18/2020
18.6.0 6,901 3/11/2019
18.5.0 36,684 6/11/2018
Loading failed