Skip to content

Commit

Permalink
Merge pull request #184 from kellogg92/fix-wpf-without-net-core-3
Browse files Browse the repository at this point in the history
Fix WPF Regression #158 when .net-core 3.0 preview is not installed
  • Loading branch information
Oren Novotny authored Sep 19, 2019
2 parents 1d3ed09 + 80cbfa5 commit 8e4f1cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/MSBuild.Sdk.Extras/Build/ExtrasShim.targets
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<UseWindowsForms Condition="'$(UseWindowsForms)' == '' and '$(ExtrasEnableWinFormsProjectSetup)' == 'true' ">true</UseWindowsForms>

<!-- Until there's a discreet property for this, default based on Wpf/WinForms -->
<ExtrasUseWindowsDesktopApp Condition="'$(UseWpf)' == 'true' or '$(UseWindowsForms)' == 'true'">true</ExtrasUseWindowsDesktopApp>
<ExtrasUseWindowsDesktopApp Condition="'$(_ExtrasHasDesktopSdk)' == 'true' and ('$(UseWpf)' == 'true' or '$(UseWindowsForms)' == 'true')">true</ExtrasUseWindowsDesktopApp>
<ExtrasUseWindowsDesktopApp Condition="'$(ExtrasUseWindowsDesktopApp)' == '' ">false</ExtrasUseWindowsDesktopApp>
</PropertyGroup>

Expand Down

0 comments on commit 8e4f1cc

Please sign in to comment.