Skip to content

Don't display "Initializing dotnet-scaffold" progress bar when waiting for user input after running dotnet scaffold the first time #3292

@danroth27

Description

@danroth27

When you first run dotnet scaffold, you get a telemetry notice that you need to acknowledge by pressing a key to continue. But you also then get an "Initializing dotnet-scaffold" progress bar, suggesting that the tooling is busy working on something. I've more than once sat around waiting for dotnet scaffold to finish initializing, only to later realize that I needed to press a key to continue :laugh:. We should wait to display the "Initializing dotnet-scaffold" progress bar until after the user has pressed a key to acknowledge the telemetry notice.

Repro steps:

  • Install the .NET SDK
  • Install dotnet scaffold: dotnet tool install -g microsoft.dotnet-scaffold
  • Run dotnet scaffold

Expected result: Telemetry notice is displayed without the "Initializing dotnet-scaffold" progress bar.
Actual result:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions