Removing Reference assets from packages which contain runtime-specific dependencies when targeting Desktop. (dotnet/corefx#33510)

* Removing Reference assets from packages which contain runtime-specific dependencies when targeting Desktop. (dotnet/corefx#33254)

* Removing Reference assets from packages which contain runtime-specific dependencies when targeting Desktop.

* Adding validation target to catch other instances of packages that need the property

* Fixing target to check all exclude compiles. Undoing changes on two packages that are not required any more.

* Update package index to contain the right versions

* Fixing packaging build errors


Commit migrated from https://github.com/dotnet/corefx/commit/6832425094123c858b9e5da02469c98ca8c200c4
This commit is contained in:
Jose Perez Rodriguez authored and GitHub committed 2018-11-16 06:34:34 -08:00
1 parent 094e8aa260
commit def4a493e8
6 files changed
+44 -7

No files matched your search

@@ -7,7 +7,7 @@
</ProjectReference>
<ProjectReference Include="..\src\System.Text.Encoding.CodePages.csproj" />
<HarvestIncludePaths Include="lib/net46" />
<HarvestIncludePaths Include="ref/netstandard1.3;runtimes/win/lib/netstandard1.3;lib/netstandard1.3" />
<HarvestIncludePaths Include="runtimes/win/lib/netstandard1.3;lib/netstandard1.3" />
</ItemGroup>
<ItemGroup>
<InboxOnTargetFramework Include="MonoAndroid10" />
@@ -26,5 +26,10 @@
<Value>.NETCoreApp;UAP</Value>
</ValidatePackageSuppression>
</ItemGroup>
<PropertyGroup>
<!-- Excluding the reference assets on the package so that RAR will see the run-time conflicts at build time in order to
generate the right binding redirects when targeting Desktop. https://github.com/dotnet/corefx/issues/32457 -->
<ExcludeReferenceAssets>true</ExcludeReferenceAssets>
</PropertyGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
</Project>