53 writes to Message
aspire (51)
Utils\EnvironmentChecker\AspireVersionCheck.cs (10)
58Message = DoctorCommandStrings.AppHostVersionCheckFailedMessage, 97Message = FormatCliVersionMessage(currentVersion, identityChannel), 118Message = string.Format( 133Message = FormatCliVersionMessage(currentVersion, identityChannel), 150Message = DoctorCommandStrings.CliVersionUpdateCheckFailedMessage, 243Message = DoctorCommandStrings.AppHostVersionCheckFailedMessage, 256Message = DoctorCommandStrings.AppHostVersionCheckFailedMessage, 290Message = AppendChannelSuffix( 308Message = string.Format( 329Message = DoctorCommandStrings.AppHostVersionCheckFailedMessage,
Utils\EnvironmentChecker\ContainerRuntimeCheck.cs (8)
77Message = "No container runtime detected", 93Message = "Failed to check container runtime", 132Message = $"{runtimeName} is running in Windows container mode", 147Message = message, 168Message = $"{info.Name}: not found (configured via ASPIRE_CONTAINER_RUNTIME={configuredRuntime})", 180Message = $"{info.Name}: installed but not running{selectedSuffix}", 195Message = policyResult.Message + selectedSuffix, 216Message = $"{info.Name}{versionSuffix}: running ({reason}){selectedSuffix}"
Utils\EnvironmentChecker\DcpConnectionChecker.cs (1)
187Message = message,
Utils\EnvironmentChecker\DcpConnectionHealthCheck.cs (4)
41Message = DoctorCommandStrings.DcpBundleNotFoundMessage, 54Message = DoctorCommandStrings.DcpExecutableNotFoundMessage, 77Message = DoctorCommandStrings.DcpConnectionSucceededMessage 95Message = DoctorCommandStrings.DcpConnectionCheckFailedMessage,
Utils\EnvironmentChecker\DeprecatedAgentConfigCheck.cs (1)
70Message = string.Format(CultureInfo.CurrentCulture, AgentCommandStrings.DeprecatedConfigWarning, location.AgentName),
Utils\EnvironmentChecker\DeprecatedWorkloadCheck.cs (1)
88Message = "Deprecated 'aspire' workload is installed",
Utils\EnvironmentChecker\DevCertsCheck.cs (11)
58Message = "Unable to check HTTPS development certificate", 80Message = DoctorCommandStrings.DevCertsNoCertificateMessage, 121Message = string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsMultipleNoneTrustedMessageFormat, certInfos.Count), 135Message = string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsMultipleSomeUntrustedMessageFormat, certInfos.Count), 150Message = DoctorCommandStrings.DevCertsTrustedMessage, 164Message = DoctorCommandStrings.DevCertsNotTrustedMessage, 180Message = DoctorCommandStrings.DevCertsPartiallyTrustedMessage, 195Message = DoctorCommandStrings.DevCertsTrustedMessage, 209Message = string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsOldVersionMessageFormat, versions), 247Message = cacheStatus.Message, 510Message = DoctorCommandStrings.DevCertsMissingCertUtilMessage,
Utils\EnvironmentChecker\DotNetSdkCheck.cs (3)
54Message = highestVersion is null 69Message = $".NET {highestVersion} installed ({architecture})" 80Message = "Error checking .NET SDK",
Utils\EnvironmentChecker\EnvironmentChecker.cs (1)
130Message = message,
Utils\EnvironmentChecker\LegacySettingsFileCheck.cs (1)
56Message = string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.LegacySettingsDetectedMessageFormat, legacySettingsPath),
Utils\EnvironmentChecker\OperatingSystemCheck.cs (1)
46Message = string.Format(
Utils\EnvironmentChecker\PendingMigrationsCheck.cs (1)
72Message = descriptor.Detail,
Utils\EnvironmentChecker\TypeScriptAppHostToolingCheck.cs (3)
72Message = "TypeScript AppHost does not support Yarn Classic.", 99Message = $"TypeScript AppHost requires '{command}'.", 124Message = $"TypeScript AppHost tooling found ({string.Join(", ", TypeScriptAppHostToolchainResolver.GetRequiredCommands(toolchain))}).",
Utils\EnvironmentChecker\VsCodeExtensionCheck.cs (2)
78Message = DoctorCommandStrings.VsCodeExtensionInstalledMessage, 91Message = DoctorCommandStrings.VsCodeExtensionMissingMessage,
Utils\EnvironmentChecker\WslEnvironmentCheck.cs (3)
70Message = "WSL1 detected - limited container support", 79Message = "WSL2 environment detected", 87Message = "WSL detected but the version could not be determined",
Aspire.Cli.Tests (2)
TestServices\TestDcpConnectionChecker.cs (1)
31Message = message,
Utils\EnvironmentCheckerTests.cs (1)
24Message = "Completed"
41 references to Message
aspire (2)
Commands\DoctorCommand.cs (1)
170var messageMarkup = new Markup($"[{color}]{result.Message.EscapeMarkup()}[/]");
Utils\EnvironmentChecker\ContainerRuntimeCheck.cs (1)
195Message = policyResult.Message + selectedSuffix,
Aspire.Cli.Tests (39)
Commands\DotNetSdkCheckTests.cs (1)
62Assert.Contains(".NET SDK not found", results[0].Message);
Commands\OperatingSystemCheckTests.cs (2)
26Assert.Equal("Operating system: Linux Ubuntu 24.04", result.Message); 48Assert.Equal("Operating system: unknown 1.2.3", result.Message);
Commands\TypeScriptAppHostToolingCheckTests.cs (4)
48Assert.Contains(command, result.Message, StringComparison.OrdinalIgnoreCase); 89Assert.Contains($"'{command}'", commandResult.Message, StringComparison.Ordinal); 115Assert.Contains($"'{missingCommand}'", result.Message, StringComparison.Ordinal); 144Assert.Equal("TypeScript AppHost does not support Yarn Classic.", result.Message);
Commands\VsCodeExtensionCheckTests.cs (2)
47Assert.Equal(DoctorCommandStrings.VsCodeExtensionMissingMessage, result.Message); 76Assert.Equal(DoctorCommandStrings.VsCodeExtensionInstalledMessage, result.Message);
Commands\WslEnvironmentCheckTests.cs (15)
266Assert.Equal("WSL detected but the version could not be determined", result.Message); 277Assert.Equal("WSL1 detected - limited container support", result.Message); 286Assert.Equal("WSL2 environment detected", result.Message); 366Assert.Equal("WSL2 environment detected", result.Message); 377Assert.Equal("WSL1 detected - limited container support", result.Message); 388Assert.Equal("WSL1 detected - limited container support", result.Message); 405Assert.Equal("WSL1 detected - limited container support", result.Message); 422Assert.Equal("WSL2 environment detected", result.Message); 440Assert.Equal("WSL2 environment detected", result.Message); 456Assert.Equal("WSL2 environment detected", result.Message); 473Assert.Equal("WSL2 environment detected", result.Message); 491Assert.Equal("WSL2 environment detected", result.Message); 507Assert.Equal("WSL2 environment detected", result.Message); 524Assert.Equal("WSL detected but the version could not be determined", result.Message); 538Assert.Equal("WSL2 environment detected", result.Message);
Migrations\PendingMigrationsCheckTests.cs (1)
50Assert.Equal("The thing needs migrating", result.Message);
Utils\DcpConnectionHealthCheckTests.cs (2)
56Assert.Contains("Developer Control Plane (DCP) executable not found", result.Message, StringComparison.Ordinal); 128Assert.Contains("Developer Control Plane (DCP) connection health checks succeeded", result.Message, StringComparison.Ordinal);
Utils\DevCertsCheckTests.cs (10)
128Assert.Contains("No HTTPS development certificate found", devCertsResult.Message); 144Assert.Contains("trusted", devCertsResult.Message); 160Assert.Contains("none are trusted", devCertsResult.Message); 176Assert.Contains("Multiple HTTPS development certificates found", devCertsResult.Message); 191Assert.Contains("trusted", devCertsResult.Message); 206Assert.Contains("not trusted", devCertsResult.Message); 221Assert.Contains("partially trusted", devCertsResult.Message); 237Assert.Contains("older version", versionResult.Message); 288Assert.Contains("3 certificates", devCertsResult.Message); 351Assert.Contains("certutil", certUtilResult.Message);
Utils\LegacySettingsFileCheckTests.cs (2)
33Assert.Contains(".aspire", result.Message); 34Assert.Contains("settings.json", result.Message);