EnableCompressionInSingleFile is not yet included in DotNetCorePublishSettings.
Compress assemblies in single file app
Starting with .NET 6, single file apps can be created with compression enabled on the embedded assemblies. Set EnableCompressionInSingleFile property to true to achieve this. The produced single-file will have all of the embedded assemblies compressed which can significantly reduce the size of the executable. Compression comes with a performance cost. On application start, the assemblies must be decompressed into memory, which takes some time. It's recommended to measure both the size impact and startup cost impact of enabling compression before using it as the impact varies a lot between different applications.
https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file#compress-assemblies-in-single-file-app
Originally posted by @SIkebe in #3606
EnableCompressionInSingleFileis not yet included inDotNetCorePublishSettings.Originally posted by @SIkebe in #3606