Skip to content

Commit

Permalink
Check that x64 is not already part of the path before appending. This…
Browse files Browse the repository at this point in the history
… avoids breaks with customers previous workarounds
  • Loading branch information
benvillalobos committed Sep 23, 2021
1 parent 2f1e9ca commit e776dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tasks/Microsoft.Common.CurrentVersion.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3878,7 +3878,7 @@ Copyright (C) Microsoft Corporation. All rights reserved.

<PropertyGroup>
<_ALExeToolPath>$(TargetFrameworkSDKToolsDirectory)</_ALExeToolPath>
<_ALExeToolPath Condition="'$(PlatformTarget)' == 'x64'">$(TargetFrameworkSDKToolsDirectory)$(PlatformTarget)\</_ALExeToolPath>
<_ALExeToolPath Condition="'$(PlatformTarget)' == 'x64' and and !$(_ALExeToolPath.EndsWith('x64\')">$(TargetFrameworkSDKToolsDirectory)$(PlatformTarget)\</_ALExeToolPath>
</PropertyGroup>

<MakeDir
Expand Down

0 comments on commit e776dec

Please sign in to comment.