-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Remove EnsureNETCoreAppRuntime target from future Microsoft.NETCore.App releases #3011
Comments
This is tracking removing our target and just setting a property that tells the SDK to do the check. |
@ericstj and @nguerrera is core-setup the right repo for this issue? |
Yes, because the source is in this repo: It is not an urgent issue, though. |
This target is actually not owned by the CLI/SDK team and is owned I believe by the corefx team. I will remove the area-SDK tag and let that team triage it appropriately. |
There's no need for this to be in 2.1. The target is benign when left behind. Removing milestone. |
@nguerrera please set milestone to Future in such cases. Thanks! @livarcocc @nguerrera @steveharter can you please work out the new area path? Who owns the target file? (https://github.com/dotnet/core-setup/blob/master/Documentation/project-docs/issue-guide.md#areas) |
I added to this |
Closing: since there's no need for this change in 2.1 and in 3.0+ we don't use nuget packages to acquire the framework, this doesn't seem necessary anymore. |
Follow up bug based on discussion with @ericstj yesterday:
Wtih dotnet/sdk#1857, this target will not run because (as a perf optimization) RunResolvePackageDependencies is skipped most of the time.
The PR moves the spirit of the check in to the SDK. The heuristic there is that least one package in the RID graph that is not in the RID-agnostic graph. It can be enabled via a property
$(EnsureRuntimePackageDependencies)
. For backwards compitibility, we turn it on for .NETCoreApp TFMs (as long as the existing escape hatch,$(EnsureNETCoreAppRuntime)
from target above is not false. If there are new TFMs that want to enable the same check, they can set EnsureRuntimePackageDependencies=true in their meta-package.@ericstj @eerhardt
The text was updated successfully, but these errors were encountered: