Merge pull request #78466 from raulsntos/dotnet/define-constants-without-whitespace

C#: Remove whitespace from define constants
This commit is contained in:
Rémi Verschelde 2023-06-20 14:56:19 +02:00
commit af08b17f97
No known key found for this signature in database
GPG key ID: C3336907360768E1

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