AlastairLundy.OsReleaseNet
1.0.1
Prefix Reserved
dotnet add package AlastairLundy.OsReleaseNet --version 1.0.1
NuGet\Install-Package AlastairLundy.OsReleaseNet -Version 1.0.1
<PackageReference Include="AlastairLundy.OsReleaseNet" Version="1.0.1" />
<PackageVersion Include="AlastairLundy.OsReleaseNet" Version="1.0.1" />
<PackageReference Include="AlastairLundy.OsReleaseNet" />
paket add AlastairLundy.OsReleaseNet --version 1.0.1
#r "nuget: AlastairLundy.OsReleaseNet, 1.0.1"
#addin nuget:?package=AlastairLundy.OsReleaseNet&version=1.0.1
#tool nuget:?package=AlastairLundy.OsReleaseNet&version=1.0.1
OsReleaseNet (formerly PlatformKit.Linux, a part of PlatformKit)
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
- .NET Standard 2.0
- .NET Standard 2.1
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
This project would like to thank the following projects for their work:
- Polyfill for simplifying .NET Standard 2.0 & 2.1 support
For more information, please see the THIRD_PARTY_NOTICES file.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- AlastairLundy.DotExtensions (>= 7.2.0)
-
.NETStandard 2.1
- AlastairLundy.DotExtensions (>= 7.2.0)
-
net8.0
- AlastairLundy.DotExtensions (>= 7.2.0)
-
net9.0
- AlastairLundy.DotExtensions (>= 7.2.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 since 1.0.0
* Updated DotExtensions dependency from 7.1.1 to 7.2.0
* Updated Polyfill and set it to PrivateAssets="All"