Skip to content

Commit 8fdce34

Browse files
authored
Drop FirstTimeMessageAspNetCertificateLinux (#42519)
2 parents 9cabe77 + 326e04f commit 8fdce34

15 files changed

+4
-129
lines changed

src/Cli/Microsoft.DotNet.Configurer/DotnetFirstTimeUseConfigurer.cs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,11 @@ public void Configure()
8383

8484
if (canShowFirstUseMessages)
8585
{
86-
var aspNetCertMessage = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) || RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ?
87-
// The instructions in this message only apply to Windows and MacOS.
88-
LocalizableStrings.FirstTimeMessageAspNetCertificate :
89-
// The instructions in this message only apply to Linux (various distros).
90-
// OSPlatform.FreeBSD would also see this message, which is acceptable since we have no specific FreeBSD instructions.
91-
LocalizableStrings.FirstTimeMessageAspNetCertificateLinux;
86+
// This message is slightly misleading for (e.g.) FreeBSD, which doesn't officially
87+
// support `dotnet dev-certs https --trust`, but the link in the message should help
88+
// users find the right steps for their platform.
9289
_reporter.WriteLine();
93-
_reporter.WriteLine(aspNetCertMessage);
90+
_reporter.WriteLine(LocalizableStrings.FirstTimeMessageAspNetCertificate);
9491
}
9592
}
9693
}

src/Cli/Microsoft.DotNet.Configurer/LocalizableStrings.resx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,4 @@ Installed an ASP.NET Core HTTPS development certificate.
147147
To trust the certificate, run 'dotnet dev-certs https --trust'
148148
Learn about HTTPS: https://aka.ms/dotnet-https</value>
149149
</data>
150-
<data name="FirstTimeMessageAspNetCertificateLinux" xml:space="preserve">
151-
<value>----------------
152-
Installed an ASP.NET Core HTTPS development certificate.
153-
To trust the certificate, view the instructions: https://aka.ms/dotnet-https-linux</value>
154-
</data>
155150
</root>

src/Cli/Microsoft.DotNet.Configurer/xlf/LocalizableStrings.cs.xlf

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.DotNet.Configurer/xlf/LocalizableStrings.de.xlf

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.DotNet.Configurer/xlf/LocalizableStrings.es.xlf

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.DotNet.Configurer/xlf/LocalizableStrings.fr.xlf

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.DotNet.Configurer/xlf/LocalizableStrings.it.xlf

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.DotNet.Configurer/xlf/LocalizableStrings.ja.xlf

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.DotNet.Configurer/xlf/LocalizableStrings.ko.xlf

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.DotNet.Configurer/xlf/LocalizableStrings.pl.xlf

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.DotNet.Configurer/xlf/LocalizableStrings.pt-BR.xlf

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.DotNet.Configurer/xlf/LocalizableStrings.ru.xlf

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.DotNet.Configurer/xlf/LocalizableStrings.tr.xlf

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.DotNet.Configurer/xlf/LocalizableStrings.zh-Hans.xlf

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.DotNet.Configurer/xlf/LocalizableStrings.zh-Hant.xlf

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)