Skip to content

Flatten the dependency graph of Microsoft.AspNetCore.App #4061

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 16, 2018

Conversation

natemcmaster
Copy link
Contributor

This changes the way Microsoft.AspNetCore.App works to follow patterns set by Microsoft.NETCore.App. Instead of being a metapackage with dozens of dependencies, this package has no dependencies. It uses RID-splitting to deliver standalone assets for self-contained deployments.

Changes:

Notably, these related issues will be addressed in a separately #3609, #3610

FYI @dsplaisted @DustinCampbell @DamianEdwards

* Implements RID-split packages for Microsoft.AspNetCore.App
* Remove all nuspec dependencies of Microsoft.AspNetCore.App and collect all references into the package
* Update shared fx deps.json generation to only include entries for the RID-specific metapackages
* Include platform-specific packages in publish output
@natemcmaster natemcmaster requested review from Eilon and muratg November 16, 2018 03:57
@natemcmaster
Copy link
Contributor Author

Build passes in the PR. Tests fail due to disk-space limitations in Azure Pipelines. I've built and tested locally and believe this is ready to merge. I'd like to get this in soon so we can get this into the SDK for further testing of FrameworkReference.

@@ -23,7 +23,7 @@
<PackageArtifact Include="Microsoft.AspNet.Identity.AspNetCoreCompat" Category="noship" />
<PackageArtifact Include="Microsoft.AspNetCore.ApiAuthorization.IdentityServer" Category="noship" />
<PackageArtifact Include="Microsoft.AspNetCore.App" Category="ship" />
<PackageArtifact Include="runtime.$(SharedFxRid).Microsoft.AspNetCore.App" Category="noship" />
<PackageArtifact Include="runtime.$(SharedFxRid).Microsoft.AspNetCore.App" Category="ship" />
Copy link
Contributor

Choose a reason for hiding this comment

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

By design? Are we going to be shipping this as a package now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup, this is intentional. This is how standalone deployment works, and what the "runtime.json" file is for.

Copy link
Contributor

@muratg muratg left a comment

Choose a reason for hiding this comment

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

I don't know the design that well, but the code looks good to me. Approving to unblock preview1 check-in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change This issue / pr will introduce a breaking change, when resolved / merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants