1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Add alternative search locations for msbuild

This commit is contained in:
Ignacio Etcheverry
2017-10-05 00:08:38 +02:00
parent d5caf71c3f
commit b4d758e067
2 changed files with 54 additions and 8 deletions

View File

@@ -19,7 +19,15 @@ namespace GodotSharpTools.Build
private static string MSBuildPath
{
get { return godot_icall_BuildInstance_get_MSBuildPath(); }
get
{
string ret = godot_icall_BuildInstance_get_MSBuildPath();
if (ret == null)
throw new FileNotFoundException("Cannot find the MSBuild executable.");
return ret;
}
}
private string solution;