1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-20 14:45:44 +00:00

Mono: Buildsystem support for finding MSBuild from VS2019

(cherry picked from commit e82b2def8e)
This commit is contained in:
Ignacio Etcheverry
2019-04-06 01:32:41 +02:00
committed by Rémi Verschelde
parent 37e62939e0
commit b836420fd8
2 changed files with 13 additions and 7 deletions

View File

@@ -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