Skip to content

Commit

Permalink
C#: Remove whitespace from define constants
Browse files Browse the repository at this point in the history
Co-authored-by: RedworkDE <10944644+RedworkDE@users.noreply.github.com>
  • Loading branch information
raulsntos and RedworkDE committed Jun 20, 2023
1 parent 217a20a commit 8f6166b
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 8f6166b

Please sign in to comment.