From 6cdf5bc75531e8f277c5a622fd87a9c291a15f22 Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Fri, 20 Dec 2024 01:02:35 +0100 Subject: [PATCH] Fix winforms private package TFM when building inside VMR (#10197) --- eng/WpfArcadeSdk/tools/SdkReferences.targets | 1 + 1 file changed, 1 insertion(+) diff --git a/eng/WpfArcadeSdk/tools/SdkReferences.targets b/eng/WpfArcadeSdk/tools/SdkReferences.targets index 6bbded2bc68..8a8ef081d4b 100644 --- a/eng/WpfArcadeSdk/tools/SdkReferences.targets +++ b/eng/WpfArcadeSdk/tools/SdkReferences.targets @@ -125,6 +125,7 @@ And $([MSBuild]::VersionGreaterThanOrEquals('$(TargetFrameworkVersion)', '3.0')) "> + <_WinFormsTargetFrameworkVersion Condition="'$(_WinFormsTargetFrameworkVersion)' == '' and '$(DotNetBuildOrchestrator)' == 'true'">$(NetCurrent) <_WinFormsTargetFrameworkVersion Condition="'$(_WinFormsTargetFrameworkVersion)' == ''">$(_targetFrameworkRoot)