From 213699faa1c27ddb5bca4f17c828c176820997ec Mon Sep 17 00:00:00 2001 From: Michal Hrabak Date: Fri, 10 Apr 2020 10:11:22 -0700 Subject: [PATCH] PR #2067: Fix the build.ps1 in internaltion system environment --- build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.ps1 b/build.ps1 index da6cb0ae51..8e38fcb777 100644 --- a/build.ps1 +++ b/build.ps1 @@ -129,7 +129,7 @@ ForEach ($directory in $SysDirectory::EnumerateDirectories($PROGRAMFILESX86 + "\ $directoryName = $directoryName.substring(0, $directoryName.LastIndexOf('A')) # parse to double "10.0" - $versionNo = [System.Double]::Parse($directoryName) + $versionNo = [System.Double]::Parse($directoryName, [System.Globalization.CultureInfo]::InvariantCulture) $fileobject = $null $fileobject = New-Object System.Object