20 references to RuntimeIdentifier
Microsoft.NET.Build.Tasks (20)
GenerateBundle.cs (20)
55OSPlatform targetOS = RuntimeIdentifier.StartsWith("win") ? OSPlatform.Windows : 56RuntimeIdentifier.StartsWith("osx") ? OSPlatform.OSX : 57RuntimeIdentifier.StartsWith("freebsd") ? OSPlatform.Create("FREEBSD") : 58RuntimeIdentifier.StartsWith("openbsd") ? OSPlatform.Create("OPENBSD") : 59RuntimeIdentifier.StartsWith("illumos") ? OSPlatform.Create("ILLUMOS") : 60RuntimeIdentifier.StartsWith("solaris") ? OSPlatform.Create("SOLARIS") : 61RuntimeIdentifier.StartsWith("haiku") ? OSPlatform.Create("HAIKU") : 64Architecture targetArch = RuntimeIdentifier.EndsWith("-x64") || RuntimeIdentifier.Contains("-x64-") ? Architecture.X64 : 65RuntimeIdentifier.EndsWith("-x86") || RuntimeIdentifier.Contains("-x86-") ? Architecture.X86 : 66RuntimeIdentifier.EndsWith("-arm64") || RuntimeIdentifier.Contains("-arm64-") ? Architecture.Arm64 : 67RuntimeIdentifier.EndsWith("-arm") || RuntimeIdentifier.Contains("-arm-") ? Architecture.Arm : 69RuntimeIdentifier.EndsWith("-riscv64") || RuntimeIdentifier.Contains("-riscv64-") ? Architecture.RiscV64 : 70RuntimeIdentifier.EndsWith("-loongarch64") || RuntimeIdentifier.Contains("-loongarch64-") ? Architecture.LoongArch64 : 72throw new ArgumentException(nameof(RuntimeIdentifier));