From 356ec80790b882e562589fe02508dd0d92717c42 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 20 Nov 2015 17:28:46 -0800 Subject: [PATCH] Use packInclude instead of content for *ps1xml The latter doesn't actually place items in the NuGet package. The former, while undocumented, exists in the schema and works as intended. --- System.Management.Automation/project.json | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/System.Management.Automation/project.json b/System.Management.Automation/project.json index cdb2ef9ef5..1d9e5d34b1 100644 --- a/System.Management.Automation/project.json +++ b/System.Management.Automation/project.json @@ -585,23 +585,20 @@ "../src/monad/monad/src/DscSupport/CimDSCParser.cs" ], - "content" : [ - "../src/monad/monad/ScriptSignJob/PreSigned/Certificate.format.ps1xml", - "../src/monad/monad/ScriptSignJob/PreSigned/DotNetTypes.format.ps1xml", - "../src/monad/monad/ScriptSignJob/PreSigned/FileSystem.format.ps1xml", - "../src/monad/monad/ScriptSignJob/PreSigned/Help.format.ps1xml", - "../src/monad/monad/ScriptSignJob/PreSigned/Registry.format.ps1xml", - "../src/monad/monad/miscfiles/types/CoreClr/types.ps1xml", - "../src/monad/monad/miscfiles/types/CoreClr/typesv3.ps1xml", - "../src/monad/monad/ScriptSignJob/PreSigned/profile.ps1", "compile" : [ "../src/monad-build/gen/SYS_AUTO/*.cs" ], - "../src/monad/monad/miscfiles/display/HelpV3.format.ps1xml", - "../src/monad/monad/miscfiles/display/PowerShellCore.format.ps1xml", - "../src/monad/monad/miscfiles/display/PowerShellTrace.format.ps1xml" - ], + "packInclude" : + { + "/" : [ + "../src/monad/monad/miscfiles/types/CoreClr/*.ps1xml", + "../src/monad/monad/miscfiles/display/*.ps1xml", + "../src/monad/monad/ScriptSignJob/PreSigned/*.ps1xml" + ], + "Modules/" : "../src/monad/monad/miscfiles/modules/**", + "Pester/" : "../ext-src/pester/**" + }, "compilationOptions": { "define": [