This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**Suppress implementation dependencies from compile.**
Packages with ref and lib list all their dependencies in a single section for that target framework. This creates a couple problems: 1. Folks end up taking a dependency on the fact that a package happens to use another package in its implementation. 2. For packages that have multiple implementations for the same TFM and different RID all dependencies appear in the same section even though some may be RID specific. Those RID speicific dependencies will compatibility errors during restore since the packages won't be supported on all RIDs. In lieu of the NuGet feature to represent RID-specific dependencies NuGet/Home#1660 we can at least suppress the compatibility error by excluding these implementation specific depdencies from compile. Further details are here: dotnet/buildtools@d40435b#diff-abe065d40d7c72dbdc1ad1957148d23fR14 [tfs-changeset: 1581170]
- Loading branch information