Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 9b8c43f

Browse files
committed
Fix build break in internal build
[tfs-changeset: 1614475]
1 parent 393760c commit 9b8c43f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/mscorlib/System.Private.CoreLib.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,11 @@
174174
</SplitTextStringResource>
175175
</ItemGroup>
176176

177-
<Target Name="CDefineChecker" BeforeTargets="Build">
177+
<PropertyGroup>
178+
<CheckCDefines Condition="'$(CheckCDefines)'==''">true</CheckCDefines>
179+
</PropertyGroup>
180+
181+
<Target Name="CDefineChecker" BeforeTargets="Build" Condition="'$(CheckCDefines)'=='true'">
178182
<!-- Compiler Definition Verification -->
179183
<Message Importance="High" Text="============" />
180184
<PropertyGroup>

0 commit comments

Comments
 (0)