Skip to content

dotnet new sln "--format" missing in 10.0.100 preview (--format slnx broken) #50008

@devlead

Description

@devlead

Describe the bug

dotnet new sln --format slnx works in 9.0.3xx but fails on 10.0.100

To Reproduce

dotnet new sln --name HelloWorld --format slnx

SDK 9.0.302 returns

The template "Solution File" was created successfully.

SDK 10.0.0-preview.6.25358.103 returns

Error: Invalid option(s):
--format
   '--format' is not a valid option
slnx
   'slnx' is not a valid option

For more information, run:
   dotnet new sln -h

For details on the exit code, refer to https://aka.ms/templating-exit-codes#127

Further technical details

details of dotnet --info

.NET SDK: Version: 10.0.100-preview.6.25358.103 Commit: 75972a5ba7 Workload version: 10.0.100-manifests.6616851e MSBuild version: 17.15.0-preview-25358-103+75972a5ba

Runtime Environment:
OS Name: Windows
OS Version: 10.0.26100
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.100-preview.6.25358.103\

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions