Skip to content

Commit

Permalink
Merge pull request #78466 from raulsntos/dotnet/define-constants-with…
Browse files Browse the repository at this point in the history
…out-whitespace

C#: Remove whitespace from define constants
  • Loading branch information
akien-mga committed Jun 20, 2023
2 parents 70182cf + 8f6166b commit af08b17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/mono/editor/Godot.NET.Sdk/Godot.NET.Sdk/Sdk/Sdk.props
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@
GODOT4_1;GODOT4_1_OR_GREATER;GODOT4_0_OR_GREATER;
GODOT4_1_0;GODOT4_1_0_OR_GREATER;
</GodotDefineConstants>
<!-- Ensure the define constants don't contain whitespace (see https://github.com/dotnet/roslyn/issues/58391). -->
<GodotDefineConstants>$(GodotDefineConstants.Replace('%0A','').Replace('%0D','').Replace('%09','').Replace(' ',''))</GodotDefineConstants>

<!--
Define constant to determine the target Godot platform. This includes the
Expand Down

0 comments on commit af08b17

Please sign in to comment.