Skip to content

Commit 28cc49c

Browse files
authored
Add platform as a default constant
1 parent 3c9654d commit 28cc49c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Directory.Build.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
99
<Nullable>enable</Nullable>
10-
<DefineConstants Condition="'$(Configuration)' == 'Debug'">$(DefineConstants);TRACE;DEBUG;NETFX_CORE</DefineConstants>
11-
<DefineConstants Condition="'$(Configuration)' != 'Debug'">$(DefineConstants);TRACE;RELEASE;NETFX_CORE</DefineConstants>
10+
<DefineConstants Condition="'$(Configuration)' == 'Debug'">$(DefineConstants);$(Platform);TRACE;DEBUG;NETFX_CORE</DefineConstants>
11+
<DefineConstants Condition="'$(Configuration)' != 'Debug'">$(DefineConstants);$(Platform);TRACE;RELEASE;NETFX_CORE</DefineConstants>
1212
<Optimize Condition="'$(Configuration)' != 'Debug'">true</Optimize>
1313
</PropertyGroup>
1414

15-
</Project>
15+
</Project>

0 commit comments

Comments
 (0)