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:
