Skip to content

Conversation

@tmds
Copy link
Member

@tmds tmds commented Oct 28, 2021

Ports #21748 to 6.0.2xx

@dsplaisted ptal.

cc @omajid

@ghost
Copy link

ghost commented Oct 28, 2021

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.


<PropertyGroup Condition="'$(UseCurrentRuntimeIdentifier)' == 'true'">
<RuntimeIdentifier>$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
<RuntimeIdentifier>$(NETCoreSdkPortableRuntimeIdentifier)</RuntimeIdentifier>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Alpine Linux, this broke a project I was porting to .NET 7:

$ dotnet publish -o dist --use-current-runtime -p:PublishSingleFile=true --self-contained -v:diag | grep -E '(NETCoreSdkPortableRuntimeIdentifier|NETCoreSdkRuntimeIdentifier) =' | sort -u
                   NETCoreSdkPortableRuntimeIdentifier = linux-arm64
                   NETCoreSdkRuntimeIdentifier = linux-musl-arm64

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NETCoreSdkPortableRuntimeIdentifier should be linux-musl-arm64 on Alpine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants