Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Remove ".Internal" from runtime packages - #6096

Merged
dagood merged 2 commits into
dotnet:masterfrom
dagood:only-identity-package-internal
Apr 25, 2019
Merged

dagood merged 2 commits into
dotnet:masterfrom
dagood:only-identity-package-internal

Conversation

@dagood

@dagood dagood commented Apr 25, 2019 •

Copy link
Copy Markdown
Member

Only the identity package should be ".Internal", not the runtime packages.

The desired set of netcoreapp packages until Core-Setup produces proper runtime packs is:

  • Microsoft.NETCore.App: workaround package (https://github.com/dotnet/core-setup/issues/5663) that has no runtime.json and only one dependency on Microsoft.NETCore.Platforms.
  • Microsoft.NETCore.App.Internal: identity package that brings in runtime packages.
  • runtime.<rid>.Microsoft.NETCore.App: the runtime package, used as a runtime pack by the current SDK. Customers see this so it's not ideal for it to have .Internal at the end.

This is done by setting up one Microsoft.NETCore.App.pkgproj that creates the workaround package, and another that produces runtime packages. Then, a Microsoft.NETCore.App.Internal.pkgproj project references the one that produces runtime packages.

This is probably doable with a single Microsoft.NETCore.App.pkgproj but a multi-project approach seems more straightforward than trying to get all the conditions right for identity vs. runtime builds.

@dsplaisted @MichaelSimons @natemcmaster

@dagood
dagood requested a review from ericstj April 25, 2019 15:57
@dagood dagood self-assigned this Apr 25, 2019
@dagood
dagood force-pushed the only-identity-package-internal branch from 7de6e39 to bfc66ce Compare April 25, 2019 16:15
@ericstj

ericstj commented Apr 25, 2019

Copy link
Copy Markdown
Member

Seems reasonable, the packaging targets don't really allow for much extensibility here so using a single project would require changes to them: https://github.com/dotnet/arcade/blob/d37270268a65592cae630f1b979b70f74d4614dd/src/Microsoft.DotNet.Build.Tasks.Packaging/src/build/Packaging.targets#L42-L43

@dagood

dagood commented Apr 25, 2019

Copy link
Copy Markdown
Member Author

Thanks! Yeah, I'm hoping to be able to avoid making Tasks.Packaging changes until Core-Setup uses the Arcade one.

@dagood
dagood merged commit 6a78e0f into dotnet:master Apr 25, 2019
@dagood
dagood deleted the only-identity-package-internal branch April 25, 2019 19:50
dsplaisted added a commit to dsplaisted/installer that referenced this pull request Apr 26, 2019
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants