OutSystems.SetupTools icon indicating copy to clipboard operation
OutSystems.SetupTools copied to clipboard

Get-OSRepoAvailableVersions Repo Problem

Open MennoBroxterman opened this issue 4 years ago • 0 comments

This command doesn't work, because the latest Service Studio Version has a to long version number. OutSystems.SetupTools 3.14.2.0

Get-OSRepoAvailableVersions -MajorVersion 11 -Latest -Application 'ServiceStudio'

Cannot convert value "11.12.5.51077.0" to type "System.Version". Error: "Version string portion was too short or too long."
At C:\Program Files\WindowsPowerShell\Modules\Outsystems.SetupTools\3.14.2.0\Functions\Get-OSRepoAvailableVersions.ps1:93 char:9
+         $versions = [System.Version[]]($versions | Where-Object -Filt ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvalidCastParseTargetInvocation


MennoBroxterman avatar Nov 18 '21 10:11 MennoBroxterman