microsoft / microsoft/aspire

[WebToolsE2E][Aspire][GB18030] When creating a Razor Pages project with a Chinese name and checking Aspire, an error message appears: Resource name '项目' is invalid. Name must contain only ASCII letters, digits, and hyphens.

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

Description

**REGRESSION INFO**: Not a Regression

**INSTALL STEP**
1. Clean machine: Win11 x64 23H2 CHS
2. Install 17.14.18 from https://aka.ms/vs/17/release/vs_Enterprise.exe
- Web workload
- Check 8.0/9.0 runtime
- Includes Aspire 9.5.0

**REPRO STEPS**
1. Launch vs >File > New >Project > ASP.NET Core Web App > Provide name: 项目 > Check 'Enlist in .NET Aspire orchestration' > Create
3. Open AppHost.cs file

**NOTE**: Also repro on 18.0.0 GA.

**ACTUAL**:
Something went wrong here; the resource name for the automatically added code was invalid.
Image

**Expected**
The resource name of the automatically added code is valid.

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.