diff options
| author | Raul Santos <raulsntos@gmail.com> | 2023-06-20 12:03:37 +0200 |
|---|---|---|
| committer | Raul Santos <raulsntos@gmail.com> | 2023-06-20 14:33:45 +0200 |
| commit | 8f6166bd1451e2fd877f7ee921f874fab48f5a56 (patch) | |
| tree | 165a4278c785be0a33e53d0173dc13cd807c6892 /modules | |
| parent | 217a20a8a09bc305674bf3790c29cf2e8e257553 (diff) | |
| download | redot-engine-8f6166bd1451e2fd877f7ee921f874fab48f5a56.tar.gz | |
C#: Remove whitespace from define constants
Co-authored-by: RedworkDE <10944644+RedworkDE@users.noreply.github.com>
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/mono/editor/Godot.NET.Sdk/Godot.NET.Sdk/Sdk/Sdk.props | 2 |
1 files changed, 2 insertions, 0 deletions
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 1cabccb357..45f930fdf7 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 @@ -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 |
