microsoft / microsoft/aspire

[AspireE2E]When executing `aspire update` out of the project folder, it will check my one driver .cs file even that does not contain apphost file

Open
#16,145 2 comments 0 reactions 0 assignees View on GitHub
area-cli
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

**REGRESSION INFO:** Not a regression

**INSTALL STEPS**
1. Clean machine: Windows11 25h2 x64
2. Install Aspire CLI : `irm https://aspire.dev/install.ps1 | iex`

**REPRO STEPS**
1. Open CMD, create an Aspire Express/React Starter App using following commands:

`aspire new aspire-ts-starter -n React1`

1. Run `aspire update` out of the project folder

**ACTUAL**
An error appears "❌ C# apphost requires .NET SDK version 10.0.100 or later. Detected: (not found)." but my one driver project does not contain apphost, just a csproj file.

Image

**Note**
1. This issue does not reproduce when running `aspire update` in project folder.

**EXPECTED**
The` aspire update` should just check the local machine that contains apphost file.

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.