From 47da5295aee98fb54bf918121c238d3f7caf1a32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Strehovsk=C3=BD?= Date: Sun, 4 Oct 2020 19:21:17 +0200 Subject: [PATCH] Teach coreclr/src/tools about Checked configuration We never test managed tools in Debug configuration because we never build the runtime partition in the Debug configuration - we only build Checked. But managed tools don't know what Checked means because it's not an MSBuild concept. So we never run the tools with asserts turned on. --- src/coreclr/src/tools/Directory.Build.props | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/coreclr/src/tools/Directory.Build.props b/src/coreclr/src/tools/Directory.Build.props index d3d6aedf615f75..b8e4a4e912df23 100644 --- a/src/coreclr/src/tools/Directory.Build.props +++ b/src/coreclr/src/tools/Directory.Build.props @@ -5,4 +5,10 @@ false false + + + + true + DEBUG;$(DefineConstants) +