7 writes to PackageType
Microsoft.DotNet.Helix.Sdk (3)
FindDotNetCliPackage.cs (3)
305PackageType = "sdk"; 309PackageType = "aspnetcore-runtime"; 313PackageType = "runtime";
Microsoft.DotNet.Helix.Sdk.Tests (4)
FindDotNetCliPackageTests.cs (4)
54PackageType = "runtime", 101PackageType = "runtime", 152PackageType = "runtime", 207PackageType = "runtime",
13 references to PackageType
Microsoft.DotNet.Helix.Sdk (13)
FindDotNetCliPackage.cs (13)
98Log.LogMessage($"Could not retrieve dotnet cli {PackageType} version {Version} package uri from feed {feed}"); 102Log.LogMessage($"Retrieved dotnet cli {PackageType} version {Version} package uri {SanitizeString(downloadUrl)} from feed {feed}, testing..."); 111Log.LogMessage($"Unable to find dotnet cli {PackageType} version {Version} from feed {feed}"); 121Log.LogMessage($"Unable to access dotnet cli {PackageType} version {Version} from feed {feed}, {SanitizeString(ex.Message)}"); 127Log.LogError(FailureCategory.Build, $"Unable to find dotnet cli {PackageType} version {Version} from any of the specified feeds."); 153return PackageType switch 185var productVersionText = PackageType switch 303if (string.Equals(PackageType, "sdk", StringComparison.OrdinalIgnoreCase)) 307else if (string.Equals(PackageType, "aspnetcore-runtime", StringComparison.OrdinalIgnoreCase)) 311else if (string.Equals(PackageType, "runtime", StringComparison.OrdinalIgnoreCase)) 317throw new ArgumentException($"Invalid value '{PackageType}' for parameter {nameof(PackageType)}"); 327string latestVersionUrl = PackageType switch