Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

3F/7z.Libs

Open more actions menu

Repository files navigation

๐Ÿ“ฆ๐Ÿ“ฆ ๐Ÿ—œ nuget.org/packages/7z.Libs

An automated build of the 7z.Libs NuGet packages.

Build status License NuGet

gnt 7z.Libs [?]

Build and use from source:

git clone https://github.com/3F/7z.Libs.git src
cd src
build & cd bin\Release\raw

Note: the build script is configured to use .version by default. Use --target-version to build specific version, e.g.:

build --target-version 24.08.0

Why 7z.Libs

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

7z.Libs repository does not include anything from 7-zip (www.7-zip.org) and only represents a fully automated distribution of the 7-zip libraries.

Everything was automated using the following tools:

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.

.NET 7-zip

Most progressive use of 7-zip in .NET is possible through Conari

As for project LuNari, it was planned in the past as N7z

However, I have the priority to review this tasks not earlier than after IeXod -> MvsSln projects. Read more about on reddit and Follow the news;

License

7z.Libs repository is available under the MIT License (MIT)

Copyright (c) 2015-2024  Denis Kuzmin <x-3F@outlook.com> github/3F

ใ€Œ โค ใ€

7z.Libs contributors: https://github.com/3F/7z.Libs/graphs/contributors

7z.Libs and its various packages may include or reference various software components.

โš  You must follow their accompanying licenses depending on their use. 3rd-party-NOTICES

Package structure

โ”œโ”€โ”€โ”€bin
โ”‚   โ”œโ”€โ”€โ”€x64
โ”‚   โ””โ”€โ”€โ”€x86
โ”œโ”€โ”€โ”€build
โ”‚   โ”œโ”€โ”€โ”€native
โ”‚   โ”œโ”€โ”€โ”€net
โ”‚   โ”œโ”€โ”€โ”€netcoreapp
โ”‚   โ””โ”€โ”€โ”€netstandard
โ”œโ”€โ”€โ”€lib
โ”‚   โ”œโ”€โ”€โ”€net
โ”‚   โ”œโ”€โ”€โ”€netcoreapp
โ”‚   โ””โ”€โ”€โ”€netstandard
โ””โ”€โ”€โ”€tools
Package Libraries and Tools Size Description Example
7za.dll ~284 - ~403 KB Compact version of 7z.dll library for 7z archives.
7zxa.dll ~159 - ~211 KB Compact version of 7z.dll library for extracting from 7z archives.
7z.dll ~1.23 - ~1.80 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 ~6 KB netfx4sdk to build on legacy platforms netfx4sdk -mode sys || netfx4sdk -mode pkg to support netfx4.0 etc.
gnt.bat ~8 KB GetNuTool to service NuGet packages including this gnt 7z.Libs for working 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

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.

Contributing

7z.Libs is waiting for your awesome contributions!

*click vsSolutionBuildEvent.bat to perform additional build actions

git clone https://github.com/3F/7z.Libs.git src
cd src & vsSolutionBuildEvent
Morty Proxy This is a proxified and sanitized view of the page, visit original site.