52 references to Warning
aspire (43)
Certificates\CertificateService.cs (5)
104
interactionService.DisplayMessage(KnownEmojis.
Warning
, string.Format(CultureInfo.CurrentCulture, ErrorStrings.CertificateGenerationFailed, generateResult));
110
interactionService.DisplayMessage(KnownEmojis.
Warning
, ErrorStrings.CertificatesPartiallyTrustedNonInteractive);
114
interactionService.DisplayMessage(KnownEmojis.
Warning
, ErrorStrings.CertificatesNotTrustedNonInteractive);
139
interactionService.DisplayMessage(KnownEmojis.
Warning
, CertificatesCommandStrings.TrustCancelled);
143
interactionService.DisplayMessage(KnownEmojis.
Warning
, string.Format(CultureInfo.CurrentCulture, ErrorStrings.CertificatesMayNotBeFullyTrusted, trustResultCode));
Commands\AgentInitCommand.cs (2)
417
InteractionService.DisplayMessage(KnownEmojis.
Warning
, message!);
469
InteractionService.DisplayMessage(KnownEmojis.
Warning
, AgentCommandStrings.ConfigurationCompletedWithErrors);
Commands\CertificatesCleanCommand.cs (1)
39
InteractionService.DisplayMessage(KnownEmojis.
Warning
, CertificatesCommandStrings.CleanCancelled);
Commands\CertificatesTrustCommand.cs (1)
37
InteractionService.DisplayMessage(KnownEmojis.
Warning
, CertificatesCommandStrings.TrustPartialSuccess);
Commands\DoctorCommand.cs (1)
216
EnvironmentCheckStatus.Warning => (KnownEmojis.
Warning
, "yellow"),
Commands\ExportCommand.cs (1)
113
InteractionService.DisplayMessage(KnownEmojis.
Warning
, ExportCommandStrings.DashboardNotAvailable);
Commands\InitCommand.cs (2)
213
KnownEmojis.
Warning
,
548
InteractionService.DisplayMessage(KnownEmojis.
Warning
, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.FixOrRemoveConfigAndRerun, AspireConfigFile.FileName));
Commands\ResourceCommandHelper.cs (2)
92
interactionService.DisplayMessage(KnownEmojis.
Warning
, $"Command '{commandName}' on '{resourceName}' was canceled.");
135
interactionService.DisplayMessage(KnownEmojis.
Warning
, $"{progressVerb} command for '{resourceName}' was canceled.");
Commands\RunCommand.cs (3)
317
InteractionService.DisplayMessage(KnownEmojis.
Warning
, RunCommandStrings.IsolatedModeRunningInstanceWarning);
443
InteractionService.DisplayMessage(KnownEmojis.
Warning
, RunCommandStrings.DashboardFailedToStart);
557
InteractionService.DisplayMessage(KnownEmojis.
Warning
, "No longer receiving logs from AppHost.");
Commands\StopCommand.cs (3)
390
InteractionService.DisplayMessage(KnownEmojis.
Warning
, StopCommandStrings.DcpCleanupCompatibilityCheckFailed);
396
InteractionService.DisplayMessage(KnownEmojis.
Warning
, StopCommandStrings.DcpCleanupCompatibilityCheckFailed);
408
InteractionService.DisplayMessage(KnownEmojis.
Warning
, string.Format(
Commands\TerminalAttachCommand.cs (1)
151
_interactionService.DisplayMessage(KnownEmojis.
Warning
,
Commands\UpdateCommand.cs (1)
551
InteractionService.DisplayMessage(KnownEmojis.
Warning
, UpdateCommandStrings.MigrationApplyFailedWarning);
Diagnostics\FileLoggerProvider.cs (1)
103
errorWriter.WriteMarkup($"Could not create log file at [blue]{path.EscapeMarkup()}[/]: {message.EscapeMarkup()}", KnownEmojis.
Warning
);
Migrations\TypeScriptAppHostMigration.cs (2)
356
KnownEmojis.
Warning
,
369
KnownEmojis.
Warning
,
Program.cs (2)
210
errorWriter.WriteMarkup(warning.EscapeMarkup(), KnownEmojis.
Warning
);
882
interactionService.DisplayMessage(KnownEmojis.
Warning
, $"[yellow]{notice.EscapeMarkup()}[/]", allowMarkup: true, consoleOverride: ConsoleOutput.Error);
Projects\GuestAppHostProject.cs (4)
1660
KnownEmojis.
Warning
,
1796
_interactionService.DisplayMessage(KnownEmojis.
Warning
, $"[yellow]{Markup.Escape(message)}[/]", allowMarkup: true);
2129
_interactionService.DisplayMessage(KnownEmojis.
Warning
, MissingJavaScriptToolWarning.GetMessage(directory, _resolvedLanguage, _environment));
2274
KnownEmojis.
Warning
,
Projects\ProjectLocator.cs (7)
414
interactionService.DisplayMessage(KnownEmojis.
Warning
, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileUnsupportedInCurrentEnvironment, relativePath));
428
interactionService.DisplayMessage(KnownEmojis.
Warning
, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileMayBeUnbuildableAppHost, relativePath));
513
interactionService.DisplayMessage(KnownEmojis.
Warning
, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileUnsupportedInCurrentEnvironment, relativePath));
538
interactionService.DisplayMessage(KnownEmojis.
Warning
, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileMayBeUnbuildableAppHost, settingsAppHostRelativePath));
549
interactionService.DisplayMessage(KnownEmojis.
Warning
, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileUnsupportedInCurrentEnvironment, settingsAppHostRelativePath));
734
interactionService.DisplayMessage(KnownEmojis.
Warning
, string.Format(CultureInfo.CurrentCulture, ErrorStrings.AppHostWasSpecifiedButDoesntExist, configFilePath, qualifiedPath));
794
interactionService.DisplayMessage(KnownEmojis.
Warning
, string.Format(CultureInfo.CurrentCulture, ErrorStrings.AppHostWasSpecifiedButDoesntExist, settingsFile.FullName, qualifiedAppHostPath));
Projects\ProjectUpdater.cs (1)
82
interactionService.DisplayMessage(KnownEmojis.
Warning
, $"[yellow]{UpdateCommandStrings.FallbackParsingWarning}[/]", allowMarkup: true);
Scaffolding\ScaffoldingService.cs (2)
317
KnownEmojis.
Warning
,
458
KnownEmojis.
Warning
,
Utils\ConsoleActivityLogger.cs (1)
301
summaryParts.Add($"[yellow]{ConsoleHelpers.FormatEmojiPrefix(KnownEmojis.
Warning
, _console, suppressColor: true)}{warningText}[/]");
Aspire.Cli.Tests (9)
Commands\AgentInitCommandTests.cs (3)
414
message => message.Emoji.Equals(KnownEmojis.
Warning
) && message.Message == installFailureMessage);
650
message => message.Emoji.Equals(KnownEmojis.
Warning
) && message.Message == installFailureMessage);
686
message => message.Emoji.Equals(KnownEmojis.
Warning
) && message.Message == installFailureMessage);
Commands\RunCommandTests.cs (1)
2500
Assert.Equal(KnownEmojis.
Warning
, m.Emoji);
Commands\StopCommandTests.cs (3)
764
message.Emoji.Equals(KnownEmojis.
Warning
) &&
804
message.Emoji.Equals(KnownEmojis.
Warning
) &&
843
message.Emoji.Equals(KnownEmojis.
Warning
) &&
Projects\ProjectLocatorTests.cs (2)
1281
Assert.Equal(KnownEmojis.
Warning
, warning.Emoji);
3784
Assert.Equal(KnownEmojis.
Warning
, warning.Emoji);