From 12fde69e868145d3ae58fbbdd45025c4f435a655 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Wed, 1 Mar 2017 00:30:02 -0800 Subject: [PATCH] Move remaining Publish actions to redist.csproj --- build/Compile.targets | 51 +------------------------------ build/Prepare.targets | 2 -- build/compile/LzmaArchive.targets | 3 +- dir.props | 2 ++ src/redist/redist.csproj | 50 ++++++++++++++++++++++++++++-- 5 files changed, 52 insertions(+), 56 deletions(-) diff --git a/build/Compile.targets b/build/Compile.targets index 56bd6d433..d48bc1ff6 100644 --- a/build/Compile.targets +++ b/build/Compile.targets @@ -1,17 +1,9 @@ - - - - - + BuildProjectsForNuGetPackages;" /> @@ -21,46 +13,5 @@ - - - - - - - - CLIBuildDll=$(CLIBuildDll); - NuGetPackagesDir=$(NuGetPackagesDir); - SdkLayoutDirectory=$(SdkOutputDirectory)/Sdks/%(BundledSdk.Identity); - SdkPackageName=%(BundledSdk.Identity); - SdkPackageVersion=%(BundledSdk.Version); - Stage0Directory=$(Stage0Directory) - - - - - - - - - - - - - TemplateLayoutDirectory=$(SdkOutputDirectory)/Templates; - TemplatePackageName=%(BundledTemplate.Identity); - TemplatePackageVersion=%(BundledTemplate.Version); - Stage0Directory=$(Stage0Directory) - - - - - - diff --git a/build/Prepare.targets b/build/Prepare.targets index b29d8737d..22212ab6e 100644 --- a/build/Prepare.targets +++ b/build/Prepare.targets @@ -2,8 +2,6 @@ - - diff --git a/build/compile/LzmaArchive.targets b/build/compile/LzmaArchive.targets index 61c22c8b5..77155e5da 100644 --- a/build/compile/LzmaArchive.targets +++ b/build/compile/LzmaArchive.targets @@ -111,8 +111,7 @@ - + diff --git a/dir.props b/dir.props index 1c28a15e9..8d31ff867 100644 --- a/dir.props +++ b/dir.props @@ -20,6 +20,8 @@ + + diff --git a/src/redist/redist.csproj b/src/redist/redist.csproj index 1de45e8b8..9dd47bb28 100644 --- a/src/redist/redist.csproj +++ b/src/redist/redist.csproj @@ -1,7 +1,8 @@  - + + $(CliVersionPrefix) netcoreapp2.0 @@ -110,6 +111,51 @@ AssetPath="%(NuPkgContentForMSBuildExtensionsRelativePaths.Identity)" /> + + + + + CLIBuildDll=$(CLIBuildDll); + NuGetPackagesDir=$(NuGetPackagesDir); + SdkLayoutDirectory=$(SdkOutputDirectory)/Sdks/%(BundledSdk.Identity); + SdkPackageName=%(BundledSdk.Identity); + SdkPackageVersion=%(BundledSdk.Version); + Stage0Directory=$(Stage0Directory); + + + + + + + + + + + + + TemplateLayoutDirectory=$(SdkOutputDirectory)/Templates; + TemplatePackageName=%(BundledTemplate.Identity); + TemplatePackageVersion=%(BundledTemplate.Version); + Stage0Directory=$(Stage0Directory); + + + + + + + + + + + @@ -164,7 +210,7 @@ - <_VbcPath Include="$(PublishDir)/sdk/**/vbc.exe" /> + <_VbcPath Include="$(PublishDir)/**/vbc.exe" />