From ab84a8cfaf41327705e35d63e77ba8e34ffdc4c1 Mon Sep 17 00:00:00 2001 From: Jeff Handley Date: Tue, 27 Apr 2021 01:20:54 -0700 Subject: [PATCH] Simplify condition checking for downlevel from net5.0 (#51888) * Simplify condition checking for downlevel from net5.0 * Use IsTargetFrameworkCompatible to check the version --- src/libraries/Directory.Build.targets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/Directory.Build.targets b/src/libraries/Directory.Build.targets index 4c660f5d459ff..8fadefdc75ac5 100644 --- a/src/libraries/Directory.Build.targets +++ b/src/libraries/Directory.Build.targets @@ -238,13 +238,13 @@ true - + - +