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

folders recursively created until path to long #7

@floekke

Description

@floekke

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions