C#: Remove whitespace from define constants

Co-authored-by: RedworkDE <10944644+RedworkDE@users.noreply.github.com>
This commit is contained in:
Raul Santos 2023-06-20 12:03:37 +02:00
parent 217a20a8a0
commit 8f6166bd14
No known key found for this signature in database
GPG key ID: B532473AE3A803E4

View file

@ -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