Remove redundant assignment of WixTargetsPath in .targets
The WixTargetsPath is correctly assigned in the WixToolset.Sdk.props file. Doing so again in the WixToolset.Sdk.targets file is redundant.
Rob Mensching committed
Feb 23, 2022 at 13:28 UTC
c2b365428686b326bbd0f594e9da1d43fa3420d3
1 file changed
-4
src/wix/WixToolset.Sdk/build/WixToolset.Sdk.targets
-4
@@ -2,9 +2,5 @@
2
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3
4
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
5
- <PropertyGroup>
6
- <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$([MSBuild]::NormalizePath($(MSBuildThisFileDirectory), '..\tools\wix.targets'))</WixTargetsPath>
7
- </PropertyGroup>
8
-
5
<Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' and Exists('$(WixTargetsPath)')" />
6
</Project>