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 import using CoreCrossTargetingTargetsPath property #6668

Merged
merged 1 commit into from Jul 20, 2021
Merged

Remove import using CoreCrossTargetingTargetsPath property #6668

merged 1 commit into from Jul 20, 2021

Conversation

Nirmal4G
Copy link
Contributor

Fixes #1062

Context

The import based on this property was introduced as a temporary bootstrapping
mechanism before there was packaging extensibility available for multi-targeting.

The packaging mechanism (aka NuGet) now uses buildCrossTargeting/buildMultiTargeting,
similar to build package folder to hold and import multi-targeting logic via NuGet's Restore.

Thus, we don't need this workaround anymore.

Changes Made

Removed the temporary import based on CoreCrossTargetingTargetsPath

Testing

Since there are no tests for this property, as it is with all the workarounds… We'll see if we break anyone during the self-hosting period.

Notes

This patch was already a part of #6161. Since, the change was approved independently, I have separated this into a new PR.

The import based on this property was introduced as a temporary bootstrapping
mechanism before there was packaging extensibility available for multi-targeting.

The packaging mechanism (aka NuGet) now uses 'buildCrossTargeting'/'buildMultiTargeting',
similar to 'build' package folder to hold and import multi-targeting logic via NuGet's Restore.

Thus, we don't need this workaround anymore.
@Forgind Forgind added the merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now. label Jul 19, 2021
@ladipro ladipro merged commit fd23477 into dotnet:main Jul 20, 2021
@Nirmal4G Nirmal4G deleted the hotfix/remove-import branch July 20, 2021 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove CoreCrossTargetingTargetsPath import when SDK provides them via package mechanism
4 participants