xRM CI Framework provides you with the tools automate the build and deployment of your CRM Solution. Using the framework to implement a fully automated DevOps pipeline will allow you to deploy more frequently with added consistency and quality.
MIT License
186
stars
117
forks
source link
ExtractSolution.ps1 error with invalid path in latest version #314
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
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