xrm-ci-framework
xrm-ci-framework copied to clipboard
ExtractSolution.ps1 error with invalid path in latest version
Hi Wael.
I noticed this error as soon as version 9.1.0.2 of powershell was released but haven't got time to investigate it in details until now.
In short, ExtractSolution script is failing with error: Expand-XrmSolution : The given path's format is not supported. At C:\Program Files\WindowsPowerShell\Modules\Xrm.Framework.CI.PowerShell.Cmdlets\9.1.0.2\ExtractSolution.ps1:100 char:1
After debugging script I found out that cmdlet Export-XrmSolution(used internaly by ExtractSolution script) is in latest version returning full path to zip file, which then concatinated with variable $env:TEMP produces invalid path for solution packager. In version 9.1.0.1 cmdlet returns only zip name without path. See attached screenshots for both versions
Cheers