microsoft / microsoft/aspire

stderr: [sys] run session could not be started: IDE returned a response indicating failure

Open
#13,852 10 comments 5 reactions 0 assignees View on GitHub
area-tooling vs
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Describe the bug

Environment:
Aspire 13.1
Windows 10, 11
Visual Studio 2026 Insiders 11312.210

Don't know what triggers this but after cloning a repo it usually happens.

Every .net project eventually stops working, with message:

```[sys] run session could not be started: IDE returned a response indicating failure```

Things I've done to make it work again, removed project, closed visual studio, reopened re-added project.

It still fails with the same error.

Can you please help?
I can't force myself and others to use Visual Studio Code or VS2022 to run it and this hinders adoption.

### Expected Behavior

Run .net projects consistently independently of IDE being used. Visual Studio above others should be prioritized.

### Steps To Reproduce

_No response_

### Exceptions (if any)

```[sys] run session could not be started: IDE returned a response indicating failure```

### .NET Version info

Host:
Version: 10.0.1
Architecture: x64
Commit: fad253f51b

### Anything else?

_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.