From 7394dfb8ff162b850b023a5beacd3efadae5cd33 Mon Sep 17 00:00:00 2001 From: Arun Mahapatra Date: Tue, 13 Dec 2016 06:35:53 +0530 Subject: [PATCH] Remove external binaries from publish. External packages are restored with a separate csproj. (#273) --- scripts/build.ps1 | 2 ++ src/package/external/external.csproj | 46 ++++++++++++++++++++++++++++ src/package/package.csproj | 29 ++++++------------ 3 files changed, 57 insertions(+), 20 deletions(-) create mode 100644 src/package/external/external.csproj diff --git a/scripts/build.ps1 b/scripts/build.ps1 index 4115732e32..1dd35f88d6 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -133,6 +133,8 @@ function Restore-Package Write-Log ".. .. Restore-Package: Source: $TPB_Solution" & $dotnetExe restore $TPB_Solution --packages $env:TP_PACKAGES_DIR -v:minimal + Write-Log ".. .. Restore-Package: Source: $env:TP_ROOT_DIR\src\package\external\external.csproj" + & $dotnetExe restore $env:TP_ROOT_DIR\src\package\external\external.csproj --packages $env:TP_PACKAGES_DIR -v:minimal Write-Log ".. .. Restore-Package: Complete." if ($lastExitCode -ne 0) { diff --git a/src/package/external/external.csproj b/src/package/external/external.csproj new file mode 100644 index 0000000000..bc3e7abcf5 --- /dev/null +++ b/src/package/external/external.csproj @@ -0,0 +1,46 @@ + + + ../../../ + + + + net46 + restore + win7-x64 + false + false + false + false + false + false + false + false + false + + + false + false + false + false + + + + + 3.4.3 + All + + + 0.1.2 + All + + + 0.2.0 + All + + + + + + + + diff --git a/src/package/package.csproj b/src/package/package.csproj index ff33057d19..55c43336f3 100644 --- a/src/package/package.csproj +++ b/src/package/package.csproj @@ -1,11 +1,4 @@ - ../../ @@ -23,6 +16,12 @@ false false false + + + false + false + false + false win7-x64 @@ -47,18 +46,6 @@ - - 3.4.3 - All - - - 0.1.2 - All - - - 0.2.0 - All - @@ -71,4 +58,6 @@ $(DefineConstants);RELEASE - \ No newline at end of file + + +