aspire
aspire copied to clipboard
[WebToolsE2E][Aspire] When using the 'aspire publish' command, the 'Type to Search' is visible even without having any selection on the publisher list.
INSTALL STEPS
- Clean machine: Win11 x64 23h2 ENU
- Install SDK 9.0.203
- Add dotnet 9 feed for 9.2.0-preview.1
- Install the latest Aspire 9.2.0-preview.1 templates
dotnet new install Aspire.ProjectTemplates::9.2.0 --force - Run the command using powershell (admin):
iex "& { $(irm https://aka.ms/install-artifacts-credprovider.ps1) }" - Install aspire.cli tool
dotnet tool install --global aspire.cli --prerelease --source https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-aspire-289c6b87/nuget/v3/index.json
REPRO STEPS
- Open CMD and run the command:
aspire new - Select a project template > Enter the project name > Enter the output path > Project templates version
- Run the following command:
cd aspire/project.apphost - Run the project using this command:
aspire run - Publish the project using the command:
aspire publish
ACTUAL
The "Type to Search" is visible even without any publisher available on the selection list.
EXPECTED The 'Type to Search' will be disabled/remove if there is only one available on the selection list.