From 1bbca92392aca1f7aff569fde4766708880b844a Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Wed, 28 Feb 2024 17:52:02 +0100 Subject: [PATCH] Condition APICompat workaround on desktop msbuild only (#9797) We need to keep this workaround in msbuild until the .NET Framework legs build with a VS that either uses a 8.0.2xx or a 9.0 SDK. To unblock building msbuild for unified-build in the VMR, condition this target on desktop msbuild only. --- Directory.Build.targets | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Directory.Build.targets b/Directory.Build.targets index 3c3e582007..c75ce0fde1 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -39,8 +39,10 @@ - + TODO: Remove when Visual Studio with an 8.0.200 or 9.0 SDK is consumed. --> + $(RoslynTargetsPath)