AlastairLundy.OsReleaseNet
2.0.0
Prefix Reserved
dotnet add package AlastairLundy.OsReleaseNet --version 2.0.0
NuGet\Install-Package AlastairLundy.OsReleaseNet -Version 2.0.0
<PackageReference Include="AlastairLundy.OsReleaseNet" Version="2.0.0" />
<PackageVersion Include="AlastairLundy.OsReleaseNet" Version="2.0.0" />
<PackageReference Include="AlastairLundy.OsReleaseNet" />
paket add AlastairLundy.OsReleaseNet --version 2.0.0
#r "nuget: AlastairLundy.OsReleaseNet, 2.0.0"
#:package AlastairLundy.OsReleaseNet@2.0.0
#addin nuget:?package=AlastairLundy.OsReleaseNet&version=2.0.0
#tool nuget:?package=AlastairLundy.OsReleaseNet&version=2.0.0
OsReleaseNet
Linux OsRelease detection, SteamOS detection, and helpful detection code for Linux.
Table of Contents
Features
- Support for detecting Linux OsRelease information
- Support for detecting SteamOS and SteamDeck information
How to install and use OsReleaseNet
OsReleaseNet can be installed via the .NET SDK CLI, Nuget via your IDE or code editor's package interface, or via the Nuget website.
Package Name | Nuget Link | .NET SDK CLI command |
---|---|---|
AlastairLundy.OsReleaseNet | AlastairLundy.OsReleaseNet Nuget | dotnet add package AlastairLundy.OsReleaseNet |
Compatibility
OsReleaseNet supports:
- .NET 8
- .NET 9
How to build the code
To build the project in Debug mode run the following command: dotnet build -c Debug
.
To build the project in Release mode run the following command: dotnet build -C Release
Roadmap
OsReleaseNet aims to make working with different types in the System namespace in C# easier.
All stable releases must be stable and should not contain regressions.
Future updates should aim focus on one or more of the following:
- Improving or adding Linux detection code
- Possibly adding support for FreeBSD and/or other BSD operating systems
How to contribute to the project
If you'd like to contribute to the code, please fork the project, make your changes, and then open a Pull Request.
Credits/ Acknowledgements
Projects
For more information, please see the THIRD_PARTY_NOTICES file.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- AlastairLundy.DotExtensions (>= 8.3.0)
-
net9.0
- AlastairLundy.DotExtensions (>= 8.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
## Changes
- Bump AlastairLundy.DotExtensions from 7.6.5 to 8.3.0 @[dependabot[bot]](https://github.com/apps/dependabot) (#19, #20, & #21)
- Remove .NET Standard 2.0 support @alastairlundy (#10)
## 🚀 Features
- Add Freebsd support @alastairlundy (#11)
- Made Parser logic more easily maintainable and separated it into abstraction and implementation files
- Removed LTS detection due to potential unreliability
- Added missing xml doc comments
- Enabled better support for Linux OsRelease files that contain multiple values for "ID_LIKE" property
- Fixed several incorrect exception messages thrown if running on an unsupported operating system.