This is an old revision of the document!
.NET ("dotnet")
Introduction
.NET is a free and open-source, managed computer software framework. It is a cross-platform successor to .NET Framework and released under the MIT License.
.NET on FreeBSD
Status
Adding FreeBSD Support to .NET is in progress with upstream work taking place mostly in the following issues:
Concurrently, a number of contributors are working in non-upstream repositories to resolve issues and produce FreeBSD .NET binaries (Native and under Linux Emulation) until upstream is able to do so. See building
Notably, building .NET requires an existing and working dotnet cli SDK to bootstrap the build, as mentioned in the Workflow Guide: FreeBSD Requirements documentation/
Producing this binary natively for FreeBSD is the aim of upstream issue #1139 mentioned above.
Until native boostrap is available officially from upstream, FreeBSD .NET builds can be produced using either:
- An existing freebsd dotnet cli binary.
- A dotnet cli binary built on FreeBSD under Linux Emulation.
Roadmap
- Reliably produce FreeBSD .NET binaries on an ongoing basis, and fix blocking issues and report/resolve upstream. Status:In-Progress
- Assist upstream getting native FreeBSD .NET built, tested (CI) and binary packages produced on an on-going and official basis. Status: In-Progress
- Create FreeBSD Ports from source (natively) for all .NET components and produce official packages for supported architectures. Status: Not Started
Documentation
Building .NET on FreeBSD
This section documents third party, maintained efforts to progress .NET FreeBSD support.
- GitHub: Thefrank - Cross-build under Linux Emulation
- GitHub: sec - Native Build
- Uses boostrap binaries from Thefrank
.NET FreeBSD Binary Releases
The above GitHub (thefrank and sec) projects produce .NET FreeBSD Release Binaries:
Developers and users are encouraged to test and provide feedback on these releases, report bugs, and provide improvements to the builds.
Earlier and Other Work
This section documents earlier work that may continue to prove useful as references.
- GitHub: jasonpugsley
- Radarr Project – Ships FreeBSD .NET binaries
- Radarr CI workflow to build FreeBSD binaries using Azure Pipelines.
.NET Framework Ports
.NET Framework 2.x
.NET Framework 1.1
.NET Framework 1.0