The script prompts me to "Enter the name of the package which you want to publish" and I do so.
6/12/2013 1:13:54 PM: An Error Occurred:
Write-Error : An error has occurred around line [], message = [System.Management.Automation.ItemNotFoundException:
Cannot find path 'c:\[path where psake script is]\Authoring.Web.zip' because it does not exist.
at System.Management.Automation.SessionStateInternal.GetChildItems(String path, Boolean recurse, CmdletProviderContext context)
at Microsoft.PowerShell.Commands.GetChildItemCommand.ProcessRecord()]
At c:\[path where psake script is]\Artifacts\Publish-Interactive.ps1:816 char:16
+ Write-Error <<<< $errorString
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Microsoft.PowerShell.Commands.WriteErrorCommand
I am calling
Publish-Iteractive.ps1
from within the context of a psake script.There are multiple deploy packages
c:\xyz\psake.ps1 c:\xyz\Artifacts\Publish-Interactive.ps1 c:\xyz\Artifacts\Authoring.Web.zip c:\xyz\Artifacts\SomeOther.zip
The script prompts me to "Enter the name of the package which you want to publish" and I do so.