From 599365626ac5264bc7c0a3dff588848ad1f186fb Mon Sep 17 00:00:00 2001 From: Davis Goodin Date: Wed, 21 Aug 2019 14:37:12 -0500 Subject: [PATCH] Categorize shipping/nonshipping NuGet packages (cherry picked from commit 645aa3a62d3f94a3bd0698cec1cc18709ba1d818) --- publish/Directory.Build.targets | 48 ++++++++++++------- publish/prepare-artifacts.proj | 12 ++++- .../packaging-tools/framework.sharedfx.props | 2 +- .../pkg/legacy/Directory.Build.props | 2 + .../workaround/Microsoft.NETCore.App.pkgproj | 2 + .../pkg/Microsoft.WindowsDesktop.App.pkgproj | 2 + .../Assets/TestProjects/Directory.Build.props | 1 + .../PrepareTestAssets/PrepareTestAssets.proj | 1 + 8 files changed, 51 insertions(+), 19 deletions(-) diff --git a/publish/Directory.Build.targets b/publish/Directory.Build.targets index 3121cbc3fd..bb39273131 100644 --- a/publish/Directory.Build.targets +++ b/publish/Directory.Build.targets @@ -23,7 +23,16 @@ Include="$(DownloadDirectory)**\*.nupkg" Exclude="@(DownloadedSymbolNupkgFile)" /> - + + + + - - - - - - - - + + + + + + + + + + diff --git a/publish/prepare-artifacts.proj b/publish/prepare-artifacts.proj index 7f7bdee661..10429538b9 100644 --- a/publish/prepare-artifacts.proj +++ b/publish/prepare-artifacts.proj @@ -41,9 +41,19 @@ + + + + + - + + diff --git a/src/pkg/packaging-tools/framework.sharedfx.props b/src/pkg/packaging-tools/framework.sharedfx.props index 26fa4a4e6b..02e0aa2bb7 100644 --- a/src/pkg/packaging-tools/framework.sharedfx.props +++ b/src/pkg/packaging-tools/framework.sharedfx.props @@ -21,7 +21,7 @@ do-not-consider-existing-platform - $(ArtifactsShippingPackagesDir) + $(ArtifactsShippingPackagesDir);$(ArtifactsNonShippingPackagesDir) false false diff --git a/src/pkg/projects/netcoreapp/pkg/legacy/Directory.Build.props b/src/pkg/projects/netcoreapp/pkg/legacy/Directory.Build.props index f4b18f4cf7..2bc2d8dbbd 100644 --- a/src/pkg/projects/netcoreapp/pkg/legacy/Directory.Build.props +++ b/src/pkg/projects/netcoreapp/pkg/legacy/Directory.Build.props @@ -4,6 +4,8 @@ true build/$(NETCoreAppFramework)/ + + false diff --git a/src/pkg/projects/netcoreapp/pkg/workaround/Microsoft.NETCore.App.pkgproj b/src/pkg/projects/netcoreapp/pkg/workaround/Microsoft.NETCore.App.pkgproj index f3a57e7551..279c09517b 100644 --- a/src/pkg/projects/netcoreapp/pkg/workaround/Microsoft.NETCore.App.pkgproj +++ b/src/pkg/projects/netcoreapp/pkg/workaround/Microsoft.NETCore.App.pkgproj @@ -15,6 +15,8 @@ true false + + false diff --git a/src/pkg/projects/windowsdesktop/pkg/Microsoft.WindowsDesktop.App.pkgproj b/src/pkg/projects/windowsdesktop/pkg/Microsoft.WindowsDesktop.App.pkgproj index e448c5824d..048af42016 100644 --- a/src/pkg/projects/windowsdesktop/pkg/Microsoft.WindowsDesktop.App.pkgproj +++ b/src/pkg/projects/windowsdesktop/pkg/Microsoft.WindowsDesktop.App.pkgproj @@ -17,6 +17,8 @@ it in correctly. Being wrong means dependency failures at runtime. --> false + + false diff --git a/src/test/Assets/TestProjects/Directory.Build.props b/src/test/Assets/TestProjects/Directory.Build.props index d370c58a76..db2178e295 100644 --- a/src/test/Assets/TestProjects/Directory.Build.props +++ b/src/test/Assets/TestProjects/Directory.Build.props @@ -3,6 +3,7 @@ + diff --git a/src/test/PrepareTestAssets/PrepareTestAssets.proj b/src/test/PrepareTestAssets/PrepareTestAssets.proj index bb5542c850..e3906ddeb0 100644 --- a/src/test/PrepareTestAssets/PrepareTestAssets.proj +++ b/src/test/PrepareTestAssets/PrepareTestAssets.proj @@ -41,6 +41,7 @@ Targets="Restore" Properties=" ArtifactsShippingPackagesDir=$(ArtifactsShippingPackagesDir); + ArtifactsNonShippingPackagesDir=$(ArtifactsNonShippingPackagesDir); TestRestorePackagesPath=$(TestRestorePackagesPath); TestTargetRid=$(TestTargetRid); MNAVersion=$(ProductVersion)" />