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