Skip to content

Creating Aspire projects should warn about space in the project names #11993

@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions