-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Conversation
* 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
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" /> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this 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.
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:
Note: the "reference assemblies" are actually the implementation assemblies. We'll replace these with true ref assemblies in a separate PR.
Notably, these related issues will be addressed in a separately #3609, #3610
FYI @dsplaisted @DustinCampbell @DamianEdwards