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