Skip to content

Mismatch between supported RIDs and the expected RID parameter #26737

Open
@dickymoore

Description

@dickymoore

The RID catalogue lists linux-musl-x64 as an option when specifying architecture.

Yet when running
dotnet publish app.csproj -c Release -o appfolder -a linux-musl-x64

I receive the error:

error NETSDK1083: The specified RuntimeIdentifier 'linux-linux-musl-x64' is not recognized.

It looks like something is prepending linux- to the architecture RID I'm putting in. I've had this on versions 6.0.100 and 6.0.302.

Changing the parameter to remove the first section, like this:
dotnet publish app.csproj -c Release -o appfolder -a musl-x64

seems to resolve the issue.

Either the documentation is incorrect, or the name of the architecture is incorrect, or I'm missing something in my understanding of how this should fit together.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions