From 5a26b24ad0080850c8eceb6cf2d2b08b161448ef Mon Sep 17 00:00:00 2001 From: "Eric St. John" Date: Thu, 3 Mar 2016 07:17:28 -0800 Subject: [PATCH] **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 https://github.com/nuget/home/issues/1660 we can at least suppress the compatibility error by excluding these implementation specific depdencies from compile. Further details are here: https://github.com/dotnet/buildtools/commit/d40435b1c460416768cc53a27091e57d948be171#diff-abe065d40d7c72dbdc1ad1957148d23fR14 [tfs-changeset: 1581170] --- BuildToolsVersion.txt | 2 +- Packaging.props | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/BuildToolsVersion.txt b/BuildToolsVersion.txt index c4f1c6f3b253..f5f2f9afa5fd 100644 --- a/BuildToolsVersion.txt +++ b/BuildToolsVersion.txt @@ -1 +1 @@ -1.0.25-prerelease-00182 \ No newline at end of file +1.0.25-prerelease-00183 \ No newline at end of file diff --git a/Packaging.props b/Packaging.props index 1ed8694ea3fd..2fbadfe3d0fb 100644 --- a/Packaging.props +++ b/Packaging.props @@ -12,11 +12,6 @@ $(Platform) x64 $(MSBuildThisFileDirectory)src/Native/pkg - - - false - true - true