Hacker News new | ask | show | jobs
by 1vuio0pswjnm7 805 days ago
Questions:

1. What is the size of the install required to get C# to run on a computer without Windows or MacOS installed

2. What is the size of the install for this C# library

Just curious

2 comments

App with runtime would probably be around 30 MBs?

dotnet publish -c Release -r linux-x64 -o output -p:PublishTrimmed=true

or 100MB without trimming

AOT-built /Example should be <= 2MB (like most of them regardless of the library), since the library itself can only be consumed by .NET and its assembly would take a couple dozens of KB at most.
If UNIX means "a certified unix that isn't MacOS" the answer is 0 bytes (actually more like 0/0 bytes).