Is there an existing issue for this?
Describe the bug
When installing Aspire 13.4 and using Azure Storage Emulator with a persistent lifetime, the storage resource never starts.
The same code DOES work in previous versions of Aspire.
Expected Behavior
Storage starts
Steps To Reproduce
aspire new aspire-empty --language csharp
aspire add azure-storage
Replace apphost code with this:
#:package Aspire.Hosting.Azure.Storage@13.4.0
#:sdk Aspire.AppHost.Sdk@13.4.0
var builder = DistributedApplication.CreateBuilder(args);
var storage = builder
.AddAzureStorage("storage")
.RunAsEmulator(azurite =>
azurite
.WithLifetime(ContainerLifetime.Persistent)
);
builder.Build().Run();
Call aspire start, the storage resource never comes online
Do the same in aspire 13.3, and it does work
Exceptions (if any)
No response
Aspire doctor output
Aspire Environment Check
Aspire
✅ Aspire CLI version 13.4.0 (channel: stable)
Container Runtime
✅ Docker v28.3.2: running (auto-detected (default)) ← active
Environment
✅ HTTPS development certificate is trusted
⚠️ HTTPS development certificate has an older version (v4)
Run 'aspire certs clean' to remove all certificates, then run 'aspire certs trust' to create and trust a new one.
See: https://aka.ms/aspire-prerequisites#dev-certs
Details:
Older certificate versions (< v4) may not support all certificate trust scenarios.
Summary: 3 passed, 1 warnings, 0 failed
For detailed prerequisites: https://aka.ms/aspire-prerequisites
Aspire CLI Installations
╭─────────────────────────────────────────────────┬─────────────────────────────────────────────────┬─────────┬───────────┬─────────────╮
│ Path │ Version │ Channel │ Route │ PATH status │
├─────────────────────────────────────────────────┼─────────────────────────────────────────────────┼─────────┼───────────┼─────────────┤
│ C:\Users\stenb.aspire\bin\aspire.exe (current) │ 13.4.0+becb48e2d61099e35ae336d527d3875e928d6594 │ stable │ (unknown) │ active │
╰─────────────────────────────────────────────────┴─────────────────────────────────────────────────┴─────────┴───────────┴─────────────╯
Anything else?
Might be related to #17822
Is there an existing issue for this?
Describe the bug
When installing Aspire 13.4 and using Azure Storage Emulator with a persistent lifetime, the storage resource never starts.
The same code DOES work in previous versions of Aspire.
Expected Behavior
Storage starts
Steps To Reproduce
Replace apphost code with this:
Call
aspire start, the storage resource never comes onlineDo the same in aspire 13.3, and it does work
Exceptions (if any)
No response
Aspire doctor output
Aspire Environment Check
Aspire
✅ Aspire CLI version 13.4.0 (channel: stable)
Container Runtime
✅ Docker v28.3.2: running (auto-detected (default)) ← active
Environment
⚠️ HTTPS development certificate has an older version (v4)
✅ HTTPS development certificate is trusted
Run 'aspire certs clean' to remove all certificates, then run 'aspire certs trust' to create and trust a new one.
See: https://aka.ms/aspire-prerequisites#dev-certs
Details:
Older certificate versions (< v4) may not support all certificate trust scenarios.
Summary: 3 passed, 1 warnings, 0 failed
For detailed prerequisites: https://aka.ms/aspire-prerequisites
Aspire CLI Installations
╭─────────────────────────────────────────────────┬─────────────────────────────────────────────────┬─────────┬───────────┬─────────────╮
│ Path │ Version │ Channel │ Route │ PATH status │
├─────────────────────────────────────────────────┼─────────────────────────────────────────────────┼─────────┼───────────┼─────────────┤
│ C:\Users\stenb.aspire\bin\aspire.exe (current) │ 13.4.0+becb48e2d61099e35ae336d527d3875e928d6594 │ stable │ (unknown) │ active │
╰─────────────────────────────────────────────────┴─────────────────────────────────────────────────┴─────────┴───────────┴─────────────╯
Anything else?
Might be related to #17822