Go to file
dependabot[bot] c9e0c04db4 Bump cachix/install-nix-action from 29 to 30 (#45)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 29 to 30.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v29...v30)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 09:14:02 +01:00
2024-06-07 19:16:46 +01:00
2024-06-16 23:23:30 +01:00
2024-09-01 10:14:50 +00:00
2024-06-07 19:16:46 +01:00
2024-06-07 19:16:46 +01:00
2024-06-07 19:16:46 +01:00
2024-06-07 19:16:46 +01:00
2024-10-06 01:39:13 +00:00
2024-09-20 18:51:12 +00:00

WoofWare.DotnetRuntimeLocator

Helpers to locate the .NET runtime and SDKs programmatically. (If you're parsing dotnet --list-runtimes, you're doing it wrong!)

Usage

See the example.

let info = DotnetEnvironmentInfo.Get ()
// or, if you already know a path to the `dotnet` executable...
let info = DotnetEnvironmentInfo.GetSpecific "/path/to/dotnet"

Troubleshooting

The easiest way to make sure we can find a dotnet is to have one on your PATH.

If you have a very strange setup, we may be unable to locate the libhostfxr library we use to find the runtimes. In that case, you can supply the environment variable WOOFWARE_DOTNET_LOCATOR_LIBHOSTFXR, which should be a full path to a libhostfxr DLL on your system. (Normally this is in /usr/share/dotnet/host/fxr/{runtime}/libhostfxr.so; you must make sure your version is from runtime 6 or greater, because the required symbols were not added until then.)

Description
Helpers so you can find available .NET runtimes and such
Readme MIT 617 KiB
Languages
C# 80.6%
F# 13.4%
Nix 6%