Skip to content

Drop FirstTimeMessageAspNetCertificateLinux #42519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,11 @@ public void Configure()

if (canShowFirstUseMessages)
{
var aspNetCertMessage = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) || RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ?
// The instructions in this message only apply to Windows and MacOS.
LocalizableStrings.FirstTimeMessageAspNetCertificate :
// The instructions in this message only apply to Linux (various distros).
// OSPlatform.FreeBSD would also see this message, which is acceptable since we have no specific FreeBSD instructions.
LocalizableStrings.FirstTimeMessageAspNetCertificateLinux;
// This message is slightly misleading for (e.g.) FreeBSD, which doesn't officially
// support `dotnet dev-certs https --trust`, but the link in the message should help
// users find the right steps for their platform.
_reporter.WriteLine();
_reporter.WriteLine(aspNetCertMessage);
_reporter.WriteLine(LocalizableStrings.FirstTimeMessageAspNetCertificate);
}
}
}
Expand Down
5 changes: 0 additions & 5 deletions src/Cli/Microsoft.DotNet.Configurer/LocalizableStrings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,4 @@ Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, run 'dotnet dev-certs https --trust'
Learn about HTTPS: https://aka.ms/dotnet-https</value>
</data>
<data name="FirstTimeMessageAspNetCertificateLinux" xml:space="preserve">
<value>----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, view the instructions: https://aka.ms/dotnet-https-linux</value>
</data>
</root>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading