Skip to content

Aspire, locking after attempting hot reload #386

@rippo

Description

@rippo

What happened?

When trying to use Aspire and a simple frontend MVC solution and a minimal backend project I keep getting a process that does not close.

If I stop the code and rebuild and start, I get a file is locked issue and the only way out is to close the project and reopen OR manually kill the process.

See attached screens, now this does not always happen but happens enough to make mty life difficult. See images for moere info.

Weirdly its not always the “Apphost” process, sometimes its the frontend of backend.

Hot reload is also quite hit and miss and more times than not I have to hit CTRL + SHIFT + F5 x2 to restart.

Image

Image

Support ticket #7464105

Ticet Update

I have enabled tracing in Rider and managed to catch the error and have uploaded the ZIP file to JetBrains

Steps to reproduce

  1. Create an Aspire project
  2. Create an minimal API backend project
  3. Create an MVC project

Expected behavior

I expect never have to kill a windows process to get rider to build and run the solution

JetBrains Rider version

2025.1 RC1

.NET Aspire plugin version

1.7.8

.NET Aspire version

9.1

.NET version

9.0

Operating System

Windows

Link to a test project to reproduce the bug

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions