From 26e3cc1f577ace87c2a9006907b91a6927adc5ac Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Thu, 19 Dec 2024 22:49:36 +0100 Subject: [PATCH] Fix winforms private package TFM when building inside VMR --- 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)