diff options
author | Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com> | 2019-04-06 05:38:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-06 05:38:06 +0200 |
commit | 506ff1f065936153efef0ace24e0d922b999b9e6 (patch) | |
tree | f5feb6f56d75d8343d7ffc9ec3b41fd62a474be6 /modules/mono/utils | |
parent | 7ca9863079c2c033e5dd550e0ab989c8593352cc (diff) | |
parent | e82b2def8e8eabe7c1be37743bd8f0f7bd671763 (diff) |
Merge pull request #27717 from neikeq/mono-build-msbuild-vs2019
Mono: Buildsystem support for finding MSBuild from VS2019
Diffstat (limited to 'modules/mono/utils')
-rw-r--r-- | modules/mono/utils/mono_reg_utils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/mono/utils/mono_reg_utils.cpp b/modules/mono/utils/mono_reg_utils.cpp index d7f9b22c31..98aeadc8c8 100644 --- a/modules/mono/utils/mono_reg_utils.cpp +++ b/modules/mono/utils/mono_reg_utils.cpp @@ -202,9 +202,9 @@ String find_msbuild_tools_path() { } // Since VS2019, the directory is simply named "Current" - String msBuildDirectory = val + "MSBuild\\Current\\Bin"; - if (DirAccess::exists(msBuildDirectory)) { - return msBuildDirectory; + String msbuild_dir = val + "MSBuild\\Current\\Bin"; + if (DirAccess::exists(msbuild_dir)) { + return msbuild_dir; } // Directory name "15.0" is used in VS 2017 |