Creating Aspire projects should warn about space in the project names
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Creating-Aspire-projects-should-warn-abo/10823506)._
---
I created a new ASP.NET Core Project, .NET 9, Checked the "Enlist in Aspire" checkbox, my first Aspire project and of course, it did not compiler.
I had a hard time figuring out why.
The problem was that I had spaces in the project name, so I got this code:
builder.AddProject<Projects.Data Protection Demo>("data protection demo");
That clearly does not compile, when I have space in the project name.
I wish Visual Studio would have warned me in the new project dialog or that it properly handled when I have space in the filename, that it replaces it with _ or something eise.
---
### Original Comments
#### Feedback Bot on 1/6/2025, 10:08 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Contributor guide
Assessment
This issue has not been assessed yet.