Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>2019-11-27 16:26:16 +0300
committerGitHub <noreply@github.com>2019-11-27 16:26:16 +0300
commiteedcf1257ba920afe514dc6ffc5e4cf6a9073179 (patch)
tree850ec77afbebf5e609a7fabcec4c7b85a27c82dc /eng/common/tools.ps1
parentb5a77ce39d1dabf77b41694878d18d68f6a40fbd (diff)
Update dependencies from https://github.com/dotnet/arcade build 20191126.2 (#834)
- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19576.2
Diffstat (limited to 'eng/common/tools.ps1')
-rw-r--r--eng/common/tools.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1
index 26a6d03c8..d762c9f04 100644
--- a/eng/common/tools.ps1
+++ b/eng/common/tools.ps1
@@ -247,7 +247,7 @@ function InitializeVisualStudioMSBuild([bool]$install, [object]$vsRequirements =
if ($msbuildCmd -ne $null) {
# Workaround for https://github.com/dotnet/roslyn/issues/35793
# Due to this issue $msbuildCmd.Version returns 0.0.0.0 for msbuild.exe 16.2+
- $msbuildVersion = [Version]::new((Get-Item $msbuildCmd.Path).VersionInfo.ProductVersion.Split(@('-', '+'))[0])
+ $msbuildVersion = [Version]::new((Get-Item $msbuildCmd.Path).VersionInfo.ProductVersion.Split([char[]]@('-', '+'))[0])
if ($msbuildVersion -ge $vsMinVersion) {
return $global:_MSBuildExe = $msbuildCmd.Path