Skip to content

[AspireE2E] When the local deployment state has been deleted, execute aspire destroy should failed with clear message explaining destroy cannot proceed #16328

@jinzhao1127

Description

@jinzhao1127

REGRESSION INFO: New feature on Aspire 13.3

INSTALL STEPS

  1. Clean machine: Windows11 25h2 x64
  2. Install 10.0.202 SDK
  3. Install Aspire CLI 13.3 : iex "& { $(irm https://aspire.dev/install.ps1) } -Quality dev"

REPRO STEPS

  1. Open CMD, create an Aspire ASP.NET Core/Blazor Starter App using following commands:

    aspire new aspire-starter -n Aspire1

  2. Clear local deployment state

  3. Run aspire destroy

ACTUAL
aspire destroy will execute successfully.
Image

EXPECTED
It should execute failed with clear message explaining destroy cannot proceed

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions