[AspireE2E] When creating an Aspire Python Starter App in VS Code and opening the apphost.cs file, some warnings appeared.
- 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: Win11 x64 23h2 ENU
2. Install SDK 10.0.100
- Add .NET 10.0 feed
3. Install VS Code - 1.105.1
- Install latest public prerelease C#DK
4. Add feed for Aspire 13.0
5. dotnet new install Aspire.ProjectTemplates::13.0.0-preview.1.25555.4 --force
**REPRO STEPS**
1. Open VS Code > Create .NET Project > Aspire Python Starter App > Name the new project > Create
2. Open apphost.cs file
**ACTUAL**
There were problems loading project apphost.cs. See log for details.
Click "Show C# logs"
2025-11-06 16:31:10.999 [warning] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Project c:\Users\v-reinawang\aspire09\AspirePyApp1\apphost.csproj has unresolved dependencies
2025-11-06 16:31:11.078 [warning] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Warning while loading c:\Users\v-reinawang\aspire09\AspirePyApp1\apphost.csproj: apphost is an Aspire AppHost project but necessary dependencies aren't present. Are you missing an Aspire.Hosting.AppHost PackageReference?
**EXPECTED**
No error and warning.
Contributor guide
Research direction
Start with the generated apphost.cs and apphost.csproj, then review the C# logs for the unresolved-dependencies and missing Aspire.Hosting.AppHost warnings. Compare the Python Starter App template output with the expected Aspire AppHost dependencies; done means opening apphost.cs in VS Code produces no error or warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, python, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100