Open jack775544 opened 1 day ago
See https://github.com/dotnet/aspire/issues/6221#issuecomment-2408002558, this should be fixed in later builds.
See #6221 (comment), this should be fixed in later builds.
Sounds good. The only thing different from that ticket is that I am also getting this for project resources and the dashboard as well.
Sounds good. The only thing different from that ticket is that I am also getting this for project resources and the dashboard as well.
Can you reproduce this with a new started project?
I just gave it a go on a new project by doing dotnet new aspire-starter
and upgrading it to 9.0.0-rc.1.24511.1.
Shutting down the project worked fine there.
I then added a node project and after that it caused the project resources to not stop correctly. My test repo is here, though it sounds like this problem is pretty well understood at this point https://github.com/jack775544/AspireStopBug
Seems like the same problem. If you want to try out a newer build, you can try:
dotnet new install Aspire.ProjectTemplates::9.0.0-rc2* --force
You'll get new templates with the fix.
You should be able to switch back to the RC1 templates easily as well
Is there an existing issue for this?
Describe the bug
I have an Aspire project that contains a mix of container resources, executable resources (all running node) and project resources. After testing Aspire 9 preview 1, I have noticed that on shutting down the app host, the non container resources take a considerable time to shut down or in some cases, do not shut down at all. This also includes the dashboard process not shutting down as well.
In my project, I have no persistent resources.
Expected Behavior
After shutting down the app host, all services should be shut down.
Steps To Reproduce
Get-Process *dashboard*
(or the name of any other process being run by AspireGet-Process
again, some of the resources will be stopped but some will remain.Exceptions (if any)
No response
.NET Version info
Anything else?
I have seen this behaviour from running the AppHost from the command line and from Rider.