-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Remove assemblies from the shared framework #4004
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
… the following: * Entity Framework Core * Owin * Node and SPA services * Identity UI * Middleware analysis * SQL Client * Third-party oauth integrations * Runtime razor components * JsonPatch
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.
Didn't we plan on leaving Microsoft.Extensions.FileProviders.Embedded
as a separate package because it includes build targets that we want to continue shipping?
<Dependency Include="Microsoft.AspNetCore.Localization.Routing" Version="$(MicrosoftAspNetCoreLocalizationRoutingPackageVersion)" /> | ||
<Dependency Include="Microsoft.AspNetCore.Localization" Version="$(MicrosoftAspNetCoreLocalizationPackageVersion)" /> | ||
<Dependency Include="Microsoft.AspNetCore.MiddlewareAnalysis" Version="$(MicrosoftAspNetCoreMiddlewareAnalysisPackageVersion)" /> | ||
<Dependency Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="$(MicrosoftAspNetCoreMvcAbstractionsPackageVersion)" /> | ||
<Dependency Include="Microsoft.AspNetCore.Mvc.Analyzers" Version="$(MicrosoftAspNetCoreMvcAnalyzersPackageVersion)" /> |
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.
Analyzers go out of shared fx, don't they?
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.
The analyzers were never in the shared fx, but they were in the metapackage. I'm not attempting to make the metapackage into a flat package in this PR. I'd like to address issues with packages that deliver build and analyzer assets in a separate PR. (See #3611)
Design notes: https://github.com/aspnet/specs/blob/master/runtime/design-notes/2018-10-10-aspnetcore-3.0-sdk.md We didn't resolve this question yet. My recollection is that we were thinking of leaving Microsoft.Extensions.FileProviders.Embedded in the shared framework, moving build targets for the manifest generation into the Web SDK, and updating the Microsoft.Extensions.FileProviders.Embedded package to avoid adding duplicate targets to the project when running on the Web SDK. But nothing was decided for sure. |
@@ -45,13 +39,9 @@ | |||
<Dependency Include="Microsoft.AspNetCore.Http" Version="$(MicrosoftAspNetCoreHttpPackageVersion)" /> | |||
<Dependency Include="Microsoft.AspNetCore.HttpOverrides" Version="$(MicrosoftAspNetCoreHttpOverridesPackageVersion)" /> | |||
<Dependency Include="Microsoft.AspNetCore.HttpsPolicy" Version="$(MicrosoftAspNetCoreHttpsPolicyPackageVersion)" /> | |||
<Dependency Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="$(MicrosoftAspNetCoreIdentityEntityFrameworkCorePackageVersion)" /> | |||
<Dependency Include="Microsoft.AspNetCore.Identity.UI" Version="$(MicrosoftAspNetCoreIdentityUIPackageVersion)" /> |
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.
cc @javiercn
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.
@natemcmaster What's the reasoning for removing the identity UI package from the shared framework?
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.
When we reviewed all assemblies for 3.0 against these guidelines with @DamianEdwards @davidfowl @Eilon and others, Identity.UI did not meet the criteria to be in the shared framework.
See also design meeting notes: https://github.com/aspnet/specs/blob/master/runtime/design-notes/2018-07-13-aspnetcore-3.0-shared-fx.md
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.
WRT the identity UI
…contain the following:
Thanks for the review so far. I'd really like @DamianEdwards and @Eilon to also sign off as this is a breaking change. |
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.
Sorry I thought I had signed off.
FYI @ryanbrandenburg this is going to break templates. We'll need to add PackageReferences to replace the things removed from the metapackage. |
Templates PR here: aspnet/Templating#836 |
First iteration on #3755
This removes the following from the shared framework:
Note: this does not complete work item #3755 as the following assemblies are still present in the shared framework which we plan to remove before we ship 3.0
cc @pranavkm @rynowak @ajcvickers