From bb5a6e29ab3c4c87c5b912dbbde2977f7f9bf6d0 Mon Sep 17 00:00:00 2001 From: RedworkDE <10944644+RedworkDE@users.noreply.github.com> Date: Mon, 6 Mar 2023 11:54:42 +0100 Subject: C#: Fix building projects for MSBuild before 17.3 (cherry picked from commit 6019f497b83f71a8c26a4e3831824e22b614bb75) --- modules/mono/editor/Godot.NET.Sdk/Godot.NET.Sdk/Sdk/Sdk.props | 9 ++++++++- .../Godot.SourceGenerators.Sample.csproj | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'modules/mono') diff --git a/modules/mono/editor/Godot.NET.Sdk/Godot.NET.Sdk/Sdk/Sdk.props b/modules/mono/editor/Godot.NET.Sdk/Godot.NET.Sdk/Sdk/Sdk.props index eea7520b05..894053c5de 100644 --- a/modules/mono/editor/Godot.NET.Sdk/Godot.NET.Sdk/Sdk/Sdk.props +++ b/modules/mono/editor/Godot.NET.Sdk/Godot.NET.Sdk/Sdk/Sdk.props @@ -14,7 +14,7 @@ $(MSBuildProjectDirectory) $([MSBuild]::EnsureTrailingSlash('$(GodotProjectDir)')) - $([MSBuild]::ConvertToBase64('$(GodotProjectDir)')) + $([MSBuild]::ConvertToBase64('$(GodotProjectDir)')) $(GodotProjectDir).godot\mono\temp\bin\ @@ -30,6 +30,13 @@ false + + + + + + + diff --git a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Sample/Godot.SourceGenerators.Sample.csproj b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Sample/Godot.SourceGenerators.Sample.csproj index 2df838cfb8..3f569ebac3 100644 --- a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Sample/Godot.SourceGenerators.Sample.csproj +++ b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Sample/Godot.SourceGenerators.Sample.csproj @@ -7,7 +7,7 @@ $(MSBuildProjectDirectory) - $([MSBuild]::ConvertToBase64('$(GodotProjectDir)')) + $([MSBuild]::ConvertToBase64('$(GodotProjectDir)')) $(DefineConstants);TOOLS -- cgit v1.2.3