IGNITE-3886 .NET: Fix build script to use latest build tools This fixes C++ compilation issue with retargeted projects
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/ff0caf81 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/ff0caf81 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/ff0caf81 Branch: refs/heads/ignite-gg-11810-1 Commit: ff0caf810f3bb76f284555dd37f93706c9edf1e7 Parents: 58188e8 Author: Pavel Tupitsyn <ptupit...@apache.org> Authored: Tue Jan 10 17:49:07 2017 +0300 Committer: Pavel Tupitsyn <ptupit...@apache.org> Committed: Tue Jan 10 17:49:07 2017 +0300 ---------------------------------------------------------------------- modules/platforms/dotnet/build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/ff0caf81/modules/platforms/dotnet/build.ps1 ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/build.ps1 b/modules/platforms/dotnet/build.ps1 index be7e638..4b5d937 100644 --- a/modules/platforms/dotnet/build.ps1 +++ b/modules/platforms/dotnet/build.ps1 @@ -127,7 +127,7 @@ else { # 2) Build .NET # Detect MSBuild 4.0+ -for ($i=4; $i -le 20; $i++) { +for ($i=20; $i -ge 4; $i--) { $regKey = "HKLM:\software\Microsoft\MSBuild\ToolsVersions\$i.0" if (Test-Path $regKey) { break } }