Re:Reinventing how .NET builds and ships (again)
by debugnik on Wednesday November 26, 2025 @10:15AM
(#46058163)
I glad to read this. One of my long-term concerns with .NET, compared to other language ecosystems, is the risk that only Microsoft people might know how to build it and port it. Is any distro actually shipping .NET SDK packages built from source?
Re:Reinventing how .NET builds and ships (again)
by lbussell on Wednesday November 26, 2025 @11:07AM
(#46058825)
Yes - Ubuntu, Alpine, Fedora, and others. [1]
[1]: https://github.com/dotnet/source-build/blob/main/README.md#n...
Re:Reinventing how .NET builds and ships (again)
by debugnik on Wednesday November 26, 2025 @04:00PM
(#46062256)
Thanks for the reference. I had memories of having to install a Microsoft repository to install the SDK, that's an improvement.
Re:Reinventing how .NET builds and ships (again)
by mmitche-msft on Wednesday November 26, 2025 @11:26AM
(#46059096)
Yes, Canonical, RedHat, Fedora, Alpine, Centos, and Arch Linux. NixOS and nixpackages too.
Re:Reinventing how .NET builds and ships (again)
by debugnik on Wednesday November 26, 2025 @04:02PM
(#46062271)
Looks like I missed progress during the time I've been away from dotnet, thanks. I still had memories of having to install an MS repo for that.
Re:Reinventing how .NET builds and ships (again)
by johnzabroski on Wednesday November 26, 2025 @09:20PM
(#46064814)
"old man yells at clouds." :)
Re:Reinventing how .NET builds and ships (again)
by debugnik on Thursday November 27, 2025 @02:41AM
(#46066756)
Not at all! Looking at the package dates, distros have started shipping their own source builds during 2022-2024, starting with .NET 6-7.
Re:Reinventing how .NET builds and ships (again)
by zem on Thursday November 27, 2025 @01:56PM
(#46072191)
that sounds awesome. having wrestled with complex build setups I'm a big fan of simple and reproducible, though as you say there's definitely the temptation to do things to improve performance at the expense of simplicity.
We wanted the option for distro maintainers to include .NET in the native distro package feeds. This means that distro maintainers have to build the product, not us, and that means creating a build system that meets their requirements. So you either end up with two build systems, or you try and unify. The only direction that it's feasible to go is towards the Linux distro model. It's the most restrictive.
The good news is that the distro model is SIMPLER. It may not be the most performant. A really good distributed system with caching would be far faster. But that's not a solution that's easy to implement or compatible with distro maintainer workflows. Optimizing for simpler in this case is better though. We want the community to be able to participate in a meaningful way. Build for BSD, build for S390x, build and include in distro feeds, etc. We can't feasibly support every platform and scenario that the community wants.