diff --git a/src/Microsoft.PowerShell.ConsoleHost/project.json b/src/Microsoft.PowerShell.ConsoleHost/project.json index b04a7ae64..c09ff9b9d 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/project.json +++ b/src/Microsoft.PowerShell.ConsoleHost/project.json @@ -7,22 +7,28 @@ "buildOptions": { "warningsAsErrors": true, "allowUnsafe": true, - "compile": [ "../windows-build/gen/Microsoft.PowerShell.ConsoleHost/*.cs" ] + "compile": [ "../windows-build/gen/Microsoft.PowerShell.ConsoleHost/*.cs" ], + "copyToOutput": [ + "Modules", + "../Modules", + "powershell.exe", + "../../powershell.version" + ] }, + "publishOptions": [ + "Modules", + "../Modules", + "powershell.exe", + "../../powershell.version" + ], + "dependencies": { "Microsoft.PowerShell.PSReadLine": "1.0.0-*", "Microsoft.PowerShell.Commands.Management": "1.0.0-*", "Microsoft.PowerShell.Commands.Utility": "1.0.0-*" }, - "content": [ - "Modules", - "../Modules", - "powershell.exe", - "../../powershell.version" - ], - "frameworks": { "netstandard1.5": { "imports": [ "dnxcore50", "portable-net45+win8" ], diff --git a/src/powershell/project.json b/src/powershell/project.json index 9ee25ae02..7b69e54ed 100644 --- a/src/powershell/project.json +++ b/src/powershell/project.json @@ -7,14 +7,18 @@ "buildOptions": { "warningsAsErrors": true, "allowUnsafe": true, - "emitEntryPoint": true + "emitEntryPoint": true, + "copyToOutput": [ + "Modules", + "../Modules", + "*_profile.ps1", + "*.so", + "*.dylib", + "../../powershell.version" + ] }, - "dependencies": { - "Microsoft.PowerShell.ConsoleHost": "1.0.0-*" - }, - - "content": [ + "publishOptions": [ "Modules", "../Modules", "*_profile.ps1", @@ -23,6 +27,10 @@ "../../powershell.version" ], + "dependencies": { + "Microsoft.PowerShell.ConsoleHost": "1.0.0-*" + }, + "frameworks": { "netcoreapp1.0": { "imports": [ "dnxcore50", "portable-net45+win8" ],