Skip to content

core-sdk: Add target rid to AppHostRuntimeIdentifiers - #1448

Merged
crummel merged 1 commit into
dotnet:release/3.1from
tmds:apphost_rid_31
Jan 17, 2020
Merged

crummel merged 1 commit into
dotnet:release/3.1from
tmds:apphost_rid_31

Conversation

@tmds

@tmds tmds commented Jan 16, 2020

Copy link
Copy Markdown
Member

Fixes #1444 for 3.1

@tmds

tmds commented Jan 16, 2020

Copy link
Copy Markdown
Member Author

cc @nguerrera @dagood @crummel @omajid @dseefeld

Also verified this one against core-sdk repo.

AppHostPackNamePattern="Microsoft.NETCore.App.Host.**RID**"
AppHostPackVersion="$(_NETCoreAppPackageVersion)"
- AppHostRuntimeIdentifiers="@(NetCoreRuntimePackRids, '%3B')"
+ AppHostRuntimeIdentifiers="@(NetCoreAppHostPackRids, '%3B')"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is the change for 3.1.

It's possible there is an apphost also for 3.0 (from installing the 3.0 sdk), but we can't add it to the 3.0 AppHostRuntimeIdentifiers because that would cause a failure in case it isn't installed.
We could make the sdk look into the packs folder so it can figure out itself what apphosts are available locally. Then we don't have to add them explicitly here either.

@crummel

crummel commented Jan 17, 2020

Copy link
Copy Markdown
Contributor

Thanks Tom!

@crummel
crummel merged commit 3fb0944 into dotnet:release/3.1 Jan 17, 2020
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.

[3.0/3.1] GenerateBundledVersions.targets needs to include target rid in AppHostRuntimeIdentifiers

4 participants