-
-
Notifications
You must be signed in to change notification settings - Fork 502
Open
Labels
bugIssues describing a bug or pull requests fixing a bug.Issues describing a bug or pull requests fixing a bug.
Description
Describe the bug
When using only --output and using dashes in the name, the project references are wrongly generated with underscores in the solution file.
Steps to reproduce
dotnet new install Boxed.Templatesdotnet new api --output boxed-poc-myapi --title "Boxed POC Api" --param:author "John Doe" --contact "john@example.com" --description "This is a test Web API built from a template"dotnet build .\boxed-poc-myapi\
Returns
C:\Program Files\dotnet\sdk\9.0.305\NuGet.targets(509,5): error MSB3202: The project file "D:\src\boxed-poc-myapi\Source\boxed_poc_myapi\boxed_poc_myapi.csproj" was not found.
C:\Program Files\dotnet\sdk\9.0.305\NuGet.targets(509,5): error MSB3202: The project file "D:\src\boxed-poc-myapi\Tests\boxed_poc_myapi.IntegrationTest\boxed_poc_myapi.IntegrationTest.csproj" was not found
Expected behaviour
Success build
Template
API
.NET Boxed Version
Latest
Visual Studio Version
Visual Studio 2022 Latest
.NET Version
9.0.305
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssues describing a bug or pull requests fixing a bug.Issues describing a bug or pull requests fixing a bug.