You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eliminate duplicated files within the .NET SDK by utilizing hard links to reduce installation size and improve disk footprint.
By removing duplicate assemblies, we can reduce the SDK size by 35% (53 MB compressed, 140 MB on disk) on Linux x64.
I might be naive, but can we test this scenario: a build uses hardlinks, hardlinked file gets copied to output, then overwritten there by a file with the different contents, it changes the contents of the originals.
Activity
3 remaining items
tmds commentedon Dec 16, 2025
We're already replacing some files with symlinks.
We tried hard links first and some tool in our build pipeline struggled with that: dotnet/source-build#3535 (comment).
cc @omajid
richlander commentedon Feb 20, 2026
It would be good to understand the expected MCR benefit.
KirillOsenkov commentedon Mar 11, 2026
I might be naive, but can we test this scenario: a build uses hardlinks, hardlinked file gets copied to output, then overwritten there by a file with the different contents, it changes the contents of the originals.
If I'm right, this will be a disaster.
KirillOsenkov commentedon Mar 11, 2026
hmm, upon further thinking, hardlinks + double-writes would already wreak the same havoc, so this PR wouldn't make anything worse, actually.
Update install scripts to v2026.05.19 (#736)
MichaelSimons commentedon Oct 16, 2026
Assigning to @marcpopMSFT to follow up on last two open items - decision on removing zip support and getting Azure DevOps to uptake tarballs.