diff options
author | Eric St. John <ericstj@microsoft.com> | 2016-03-03 18:17:28 +0300 |
---|---|---|
committer | Eric St. John <ericstj@microsoft.com> | 2016-03-03 18:17:28 +0300 |
commit | 5a26b24ad0080850c8eceb6cf2d2b08b161448ef (patch) | |
tree | da412bf8fb562e143819e51060b03b5f5a50b130 /Packaging.props | |
parent | 664b573ed6a6536ed26e8cfe3676096d9ae374d3 (diff) |
**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]
Diffstat (limited to 'Packaging.props')
-rw-r--r-- | Packaging.props | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Packaging.props b/Packaging.props index 1ed8694ea3..2fbadfe3d0 100644 --- a/Packaging.props +++ b/Packaging.props @@ -12,11 +12,6 @@ <PackagePlatform Condition="'$(PackagePlatform)' == ''">$(Platform)</PackagePlatform> <PackagePlatform Condition="'$(PackagePlatform)' == 'amd64'">x64</PackagePlatform> <NativePackagePath>$(MSBuildThisFileDirectory)src/Native/pkg</NativePackagePath> - - <!-- Enable NETStandard --> - <UseNetPlatform>false</UseNetPlatform> - <BaseLinePackageDependencies>true</BaseLinePackageDependencies> - <ExcludeRuntimeJson>true</ExcludeRuntimeJson> </PropertyGroup> <PropertyGroup Condition="'$(OsEnvironment)'=='Unix'"> |