summaryrefslogtreecommitdiff
path: root/modules/mono/editor/GodotSharpTools/Project/ProjectGenerator.cs
diff options
context:
space:
mode:
authorIgnacio Etcheverry <neikeq@users.noreply.github.com>2019-01-21 01:32:07 +0100
committerGitHub <noreply@github.com>2019-01-21 01:32:07 +0100
commit0babbca67e80402611e219f13473203cbe22571b (patch)
treec826f04309b33bd0bf666eeb00f5e6d50ec52e1c /modules/mono/editor/GodotSharpTools/Project/ProjectGenerator.cs
parent09e4d7e9ebb3aa1f1d8b7adf96778a9568797518 (diff)
parent0ac5be8368e6d7d0fcb8708426b785471e4a3284 (diff)
Merge pull request #25177 from neikeq/nn
Workaround for bug with Mono's MSBuild and BaseIntermediateOutputPath
Diffstat (limited to 'modules/mono/editor/GodotSharpTools/Project/ProjectGenerator.cs')
-rw-r--r--modules/mono/editor/GodotSharpTools/Project/ProjectGenerator.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mono/editor/GodotSharpTools/Project/ProjectGenerator.cs b/modules/mono/editor/GodotSharpTools/Project/ProjectGenerator.cs
index 2ce7837a27..9135006172 100644
--- a/modules/mono/editor/GodotSharpTools/Project/ProjectGenerator.cs
+++ b/modules/mono/editor/GodotSharpTools/Project/ProjectGenerator.cs
@@ -21,6 +21,7 @@ namespace GodotSharpTools.Project
mainGroup.AddProperty("DocumentationFile", Path.Combine("$(OutputPath)", "$(AssemblyName).xml"));
mainGroup.SetProperty("RootNamespace", "Godot");
mainGroup.SetProperty("ProjectGuid", CoreApiProjectGuid);
+ mainGroup.SetProperty("BaseIntermediateOutputPath", "obj");
GenAssemblyInfoFile(root, dir, CoreApiProjectName,
new string[] { "[assembly: InternalsVisibleTo(\"" + EditorApiProjectName + "\")]" },
@@ -46,6 +47,7 @@ namespace GodotSharpTools.Project
mainGroup.AddProperty("DocumentationFile", Path.Combine("$(OutputPath)", "$(AssemblyName).xml"));
mainGroup.SetProperty("RootNamespace", "Godot");
mainGroup.SetProperty("ProjectGuid", EditorApiProjectGuid);
+ mainGroup.SetProperty("BaseIntermediateOutputPath", "obj");
GenAssemblyInfoFile(root, dir, EditorApiProjectName);