Skip to content
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

chore: suppress dotnet logo #1229

Merged
merged 2 commits into from
Nov 19, 2023
Merged

chore: suppress dotnet logo #1229

merged 2 commits into from
Nov 19, 2023

Conversation

BusHero
Copy link
Contributor

@BusHero BusHero commented Aug 21, 2023

Set the DOTNET_NOLOGO environment variable to 1 to suppress annoying dotnet logo message

I confirm that the pull-request:

  • Follows the contribution guidelines
  • Is based on my own work
  • Is in compliance with my employer

@matkoch
Copy link
Member

matkoch commented Nov 19, 2023

Which output does this concern exactly?

@TheBlueSky
Copy link

Which output does this concern exactly?

As per .NET SDK documentation (see here), DOTNET_SKIP_FIRST_TIME_EXPERIENCE is unsupported since .NET Core 3.0 and was replaced by DOTNET_NOLOGO.

@matkoch
Copy link
Member

matkoch commented Nov 19, 2023

That wasn't my question. I was asking what output is shown if this is not set.

@TheBlueSky
Copy link

The same output that not setting DOTNET_SKIP_FIRST_TIME_EXPERIENCE prior to .NET Core 3.0, which is the welcome message about the telemetry and some information and links.

@matkoch
Copy link
Member

matkoch commented Nov 19, 2023

You're not answering my question, and I'm not trying to be difficult either. I want to see the exact output that is suppressed by this variable to make sure that the SDK version is still included in the output as I find this is relevant for builds.

@matkoch matkoch merged commit 12a4031 into nuke-build:develop Nov 19, 2023
3 of 4 checks passed
@TheBlueSky
Copy link

Something like this:

Welcome to .NET 8.0!
---------------------
SDK Version: 8.0.100

Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.

Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry

----------------
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

----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------

@matkoch
Copy link
Member

matkoch commented Nov 19, 2023

Thanks

matkoch pushed a commit that referenced this pull request Nov 19, 2023
@matkoch matkoch added this to the v7.1.0 milestone Nov 19, 2023
matkoch pushed a commit that referenced this pull request Dec 15, 2023
matkoch pushed a commit that referenced this pull request Dec 15, 2023
matkoch pushed a commit that referenced this pull request Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants