From 47fd1a45bc40095bf2c31d7c1bbdacac504d65bc Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 25 Mar 2016 14:23:06 -0700 Subject: [PATCH] Remove runtimes sections from projects No longer necessary to restore/build. Removing them allows NuGet to restore only the packages necessary for the current platform, vastly reducing cache sizes and restore time. My `~/.nuget/packages` directory was almost 1GB smaller with this change. --- src/Microsoft.PowerShell.Linux.Host/project.json | 9 --------- src/TypeCatalogParser/project.json | 9 --------- 2 files changed, 18 deletions(-) diff --git a/src/Microsoft.PowerShell.Linux.Host/project.json b/src/Microsoft.PowerShell.Linux.Host/project.json index 2b1c498641..be3adce597 100644 --- a/src/Microsoft.PowerShell.Linux.Host/project.json +++ b/src/Microsoft.PowerShell.Linux.Host/project.json @@ -25,14 +25,5 @@ "netstandardapp1.5": { "imports": [ "dnxcore50", "portable-net45+win8" ] } - }, - - "runtimes": { - "ubuntu.14.04-x64": { }, - "centos.7.1-x64": { }, - "win7-x64": { }, - "win10-x64": { }, - "osx.10.10-x64": { }, - "osx.10.11-x64": { } } } diff --git a/src/TypeCatalogParser/project.json b/src/TypeCatalogParser/project.json index ed52514f47..f3e2050da0 100644 --- a/src/TypeCatalogParser/project.json +++ b/src/TypeCatalogParser/project.json @@ -13,14 +13,5 @@ "netstandardapp1.5": { "imports": [ "dnxcore50", "portable-net45+win8" ] } - }, - - "runtimes": { - "ubuntu.14.04-x64": { }, - "centos.7.1-x64": { }, - "win7-x64": { }, - "win10-x64": { }, - "osx.10.10-x64": { }, - "osx.10.11-x64": { } } }