JetBrains / JetBrains/aspire-plugin

Aspire, locking after attempting hot reload

Open
#386 7 comments 0 reactions 1 assignee Claimed by @rafaelldi View on GitHub
bug
Dominant language
Kotlin
Stars
96
Forks
6
Avg merge
11h 31m
Merged PRs (30d)
8

Description

### 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](https://github.com/user-attachments/assets/6ba22c51-5497-4896-b32e-aeb34a02f04b)

![Image](https://github.com/user-attachments/assets/52c8daa7-f1c9-4a47-b402-d25d57ebacea)

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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.