PublishAotCompressed 0.0.4
See the version list below for details.
dotnet add package PublishAotCompressed --version 0.0.4
NuGet\Install-Package PublishAotCompressed -Version 0.0.4
<PackageReference Include="PublishAotCompressed" Version="0.0.4" />
paket add PublishAotCompressed --version 0.0.4
#r "nuget: PublishAotCompressed, 0.0.4"
// Install PublishAotCompressed as a Cake Addin
#addin nuget:?package=PublishAotCompressed&version=0.0.4
// Install PublishAotCompressed as a Cake Tool
#tool nuget:?package=PublishAotCompressed&version=0.0.4
PublishAotCompressed
This is a NuGet package with an MSBuild target to compress results of PublishAot with UPX. Simply add a reference to this package and publish with PublishAot
as usual. The result of AOT compilation will be compressed. UPX typically achieves 60% or more size savings.
UPX will in-memory decompress the program at launch. This is typically not observable.
A Hello World style program with <EventSourceSupport>false</EventSourceSupport>
, <UseSystemResourceKeys>true</UseSystemResourceKeys>
, and <InvariantGlobalization>true</InvariantGlobalization>
(three documented size savings options that pretty much everyone should enable) compressed with UPX is around 840 kB in size, fully self-contained. (On Linux, don't forget to also set <StripSymbols>true</StripSymbols>
, the documented switch to place debugging symbols into a separate file.)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on PublishAotCompressed:
Repository | Stars |
---|---|
nilaoda/N_m3u8DL-RE
Cross-Platform, modern and powerful stream downloader for MPD/M3U8/ISM. English/简体中文/繁體中文.
|
|
Sergio0694/ComputeSharp
A .NET library to run C# code in parallel on the GPU through DX12, D2D1, and dynamically generated HLSL compute and pixel shaders, with the goal of making GPU computing easy to use for all .NET developers! 🚀
|
|
DataDog/dd-trace-dotnet
.NET Client Library for Datadog APM
|