Skip to content

Commit

Permalink
Fix winforms private package TFM when building inside VMR (#10197)
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorHofer authored Dec 20, 2024
1 parent ca30a02 commit 6cdf5bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eng/WpfArcadeSdk/tools/SdkReferences.targets
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
And $([MSBuild]::VersionGreaterThanOrEquals('$(TargetFrameworkVersion)', '3.0')) ">
<PropertyGroup>
<!-- Use the current TargetFramework if not otherwise specified for WinForms private package -->
<_WinFormsTargetFrameworkVersion Condition="'$(_WinFormsTargetFrameworkVersion)' == '' and '$(DotNetBuildOrchestrator)' == 'true'">$(NetCurrent)</_WinFormsTargetFrameworkVersion>
<_WinFormsTargetFrameworkVersion Condition="'$(_WinFormsTargetFrameworkVersion)' == ''">$(_targetFrameworkRoot)</_WinFormsTargetFrameworkVersion>
</PropertyGroup>
<ItemGroup>
Expand Down

0 comments on commit 6cdf5bc

Please # to comment.