diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-01-21 00:38:24 +0100 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-01-21 00:38:28 +0100 |
commit | ca8100f29fa0cf3a04fcbbc3fcaf808ffbff3887 (patch) | |
tree | 21cd16c964c67fbf06b6fcf1d7e7c65fc97d4b5e /modules/mono/editor/GodotSharpTools/Build | |
parent | 09e4d7e9ebb3aa1f1d8b7adf96778a9568797518 (diff) |
Workaround for bug with Mono's MSBuild and BaseIntermediateOutputPath
BaseIntermediateOutputPath seems to be empty by default. The workaround is to explicitly set it.
Also fixed passing char instead of char[] to String.Split. Why was this even working with Mono?
Diffstat (limited to 'modules/mono/editor/GodotSharpTools/Build')
-rw-r--r-- | modules/mono/editor/GodotSharpTools/Build/BuildSystem.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/GodotSharpTools/Build/BuildSystem.cs b/modules/mono/editor/GodotSharpTools/Build/BuildSystem.cs index 16beacb45c..4137f5eaef 100644 --- a/modules/mono/editor/GodotSharpTools/Build/BuildSystem.cs +++ b/modules/mono/editor/GodotSharpTools/Build/BuildSystem.cs @@ -257,7 +257,7 @@ namespace GodotSharpTools.Build if (null == Parameters) throw new LoggerException("Log directory was not set."); - string[] parameters = Parameters.Split(';'); + string[] parameters = Parameters.Split(new[] { ';' }); string logDir = parameters[0]; |