This repository was archived by the owner on Jan 11, 2018. It is now read-only.

Description
Hi
Great work.
When running 'Prepare-ClickOnce' I end up with an exception:
Prepare-ClickOnce -target Installers -version 1.2.3.6 -source . -applicationExecutable PortfolioManager.exe -applicationName PortfolioManagerNew -applicationDisplayName PortfolioManagerNewDisplayName -icon LindCapital2.ico -publisher fslPublisher -providerPath http://localhost/Portfoliomanager -processor amd64
Copy-Item : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be
less than 248 characters.
At C:\Users\fsl\source\LindCapitalAll\branches\working\Deploy\Support\ClickOnce.ps1:59 char:3
- Copy-Item -r -exclude _.xml "$source_" $targetVersion
-
- CategoryInfo : WriteError: (C:\Users\fsl\so....3.6\Installers:String) [Copy-Item], PathTooLongException
- FullyQualifiedErrorId : CreateDirectoryIOError,Microsoft.PowerShell.Commands.CopyItemCommand
And a whole lot of directories of the form:
\Installers\1.2.3.6\Installers\1.2.3.6\Installers\1.2.3.6\Installers\
I'm pretty sure I'm not calling the script recursively on my own..
Any suggestions?
Thx.