aspire icon indicating copy to clipboard operation
aspire copied to clipboard

[WebToolsE2E][Aspire] The icons color in the CMD isn't correct during creation and running of the project.

Open Coleen17 opened this issue 9 months ago • 5 comments

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install SDK 9.0.203
  3. Add the dotnet 9 feed for 9.2.0-preview.1
  4. Install the latest Aspire 9.2.0-preview.1 templates dotnet new install Aspire.ProjectTemplates::9.2.0-preview.1.25208.17
  5. Install aspire.cli tool Install aspire.cli - dotnet tool install --global aspire.cli --version 9.2.0-preview.1.25208.17 --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json

REPRO STEPS

  1. Run the following command: aspire new
  2. Select a project template > Enter the project name > Enter the output path > Specify a version then press enter > check the color of the icons.
  3. Run the following command and check the icons. cd aspires/projects.apphost
  4. Run the project using command and check the color of the icons. aspire run

ACTUAL The color of the icons isn't correct Image

EXPECTED The color of the icons should be like this and consistent. Image

Coleen17 avatar Apr 09 '25 10:04 Coleen17

@Coleen17 I'm unable to reproduce this. I have a machine with Win11 23H2 + SDK 9.0.203 + Aspire 9.2 templates and Aspire CLI. Are you able to consistently repro on different machines?

Image

balachir avatar Apr 09 '25 18:04 balachir

You'll need to use Windows Terminal to get emojis to render properly. Paste echo "🧪" into conhost and you'll see it renders a text like emoji, but paste it into windows terminal and you'll get a proper emoji"

Image

Image

afscrome avatar Apr 09 '25 20:04 afscrome

@balachir It can stably reproduce using SDK 9.0.203 + Aspire 9.3.0-preview.1.25213.4 and Aspire CLI. On my investigation, please check the following screenshots below.

CMD Image

Windows Powershell Image

Windows Powershell as admin: Image

NOTE

  1. This issue cannot reproduce when there was a VS installed.

Coleen17 avatar Apr 14 '25 03:04 Coleen17

I verified this issue using SDK 9.0.203 + aspire 9.3.0-preview.1.25224.4 and this issue does not reproduce anymore. So, closing this bug.

Image

Coleen17 avatar Apr 25 '25 01:04 Coleen17

I verified this issue using SDK 9.0.203 + latest Aspire 9.3.0-preview.1.25229.16 and this issue still reproduce. So, reopening this bug.

Coleen17 avatar Apr 30 '25 06:04 Coleen17