Skip to content
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

Closed
nguerrera opened this issue Jan 19, 2018 · 8 comments

Comments

@nguerrera
Copy link
Contributor

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

@ericstj
Copy link
Member

ericstj commented Jan 25, 2018

This is tracking removing our target and just setting a property that tells the SDK to do the check.

@livarcocc
Copy link
Contributor

@ericstj and @nguerrera is core-setup the right repo for this issue?

@nguerrera
Copy link
Contributor Author

@livarcocc
Copy link
Contributor

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.

@nguerrera
Copy link
Contributor Author

There's no need for this to be in 2.1. The target is benign when left behind. Removing milestone.

@karelz
Copy link
Member

karelz commented Mar 30, 2018

@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)

@eerhardt
Copy link
Member

eerhardt commented Apr 2, 2018

I added to this area-Infrastructure, since it is part of building the Microsoft.NETCore.App package, and that's where the other issues for the Microsoft.NETCore.App package live.

@dagood
Copy link
Member

dagood commented Jan 8, 2020

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.

@dagood dagood closed this as completed Jan 8, 2020
@msftgits msftgits transferred this issue from dotnet/core-setup Jan 30, 2020
@msftgits msftgits added this to the Future milestone Jan 30, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants