Skip to content

Commit

Permalink
Default to not importing .net framework winfx targets (#10998)
Browse files Browse the repository at this point in the history
* Default to not importing .net framework winfx targets.

* Changed where we're defining ImportWinFXTargets

* Changing name to be more explicit
  • Loading branch information
benvillalobos authored May 6, 2020
1 parent dea07be commit 28b3115
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ Copyright (c) .NET Foundation. All rights reserved.
<Import Project="Microsoft.NET.Sdk.DefaultItems.props" />
<Import Project="Microsoft.NET.SupportedTargetFrameworks.props" />
</ImportGroup>

<!-- Workaround: https://github.com/microsoft/msbuild/issues/4948 -->
<PropertyGroup>
<ImportFrameworkWinFXTargets>false</ImportFrameworkWinFXTargets>
</PropertyGroup>

<PropertyGroup>
<_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true</_IsExecutable>
Expand Down

0 comments on commit 28b3115

Please sign in to comment.