mirror of
https://github.com/Smaug123/WoofWare.DotnetRuntimeLocator
synced 2025-10-05 23:38:39 +00:00
22 lines
457 B
Forth
22 lines
457 B
Forth
namespace Example
|
|
|
|
open System
|
|
open WoofWare.DotnetRuntimeLocator
|
|
|
|
module Program =
|
|
[<EntryPoint>]
|
|
let main argv =
|
|
let info = DotnetEnvironmentInfo.Get ()
|
|
Console.WriteLine info
|
|
Console.WriteLine "SDKs:"
|
|
|
|
for sdk in info.Sdks do
|
|
Console.WriteLine $"SDK: %O{sdk}"
|
|
|
|
Console.WriteLine "Frameworks:"
|
|
|
|
for f in info.Frameworks do
|
|
Console.WriteLine $"Framework: %O{f}"
|
|
|
|
0
|