Skip to content

Commit

Permalink
Try different targeting pack hack condition
Browse files Browse the repository at this point in the history
The previous one doesn't work (perhaps because there's other referenced projects that are not updated?)
  • Loading branch information
Sejsel committed May 19, 2022
1 parent 9d999a1 commit 938b3e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<!-- This is a workaround for .NET desktop targetting pack 6.0.2 shipping an invalid version;
see https://github.com/dotnet/core/pull/7346/ -->
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-windows'">
<ItemGroup Condition="'$(TargetFrameworkVersion)' == 'net6.0'">
<FrameworkReference
Update="Microsoft.WindowsDesktop.App;Microsoft.WindowsDesktop.App.WPF;Microsoft.WindowsDesktop.App.WindowsForms"
TargetingPackVersion="6.0.0" />
Expand Down

0 comments on commit 938b3e6

Please sign in to comment.