Skip to content

Commit

Permalink
Don't import Microsoft.WinFX.targets for sdk style projects (dotnet#5200
Browse files Browse the repository at this point in the history
)

* Conditional import on microsoft.winfx.targets

* Escape hatch for logging ALL task inputs rather than truncating them

* Short circuiting the condition to prevent a file check if the property is false.

* Changed name to be more explicit

* Revert "Escape hatch for logging ALL task inputs rather than truncating them"

This reverts commit 07a6146.
  • Loading branch information
benvillalobos authored and sfoslund committed May 15, 2020
1 parent 477c158 commit c86960d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tasks/Microsoft.WinFx.targets
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
the shim will internally simply redirect to the real copy of the targets file in the .NET Framework.
-->

<Import Project="$(MSBuildFrameworkToolsPath)\Microsoft.WinFx.targets" Condition="Exists('$(MSBuildFrameworkToolsPath)\Microsoft.WinFx.targets')" />
<Import Project="$(MSBuildFrameworkToolsPath)\Microsoft.WinFx.targets" Condition="'$(ImportFrameworkWinFXTargets)' != 'false' and Exists('$(MSBuildFrameworkToolsPath)\Microsoft.WinFx.targets')" />

</Project>

0 comments on commit c86960d

Please sign in to comment.