Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit b41f052

Browse files
williamb1024kzu
authored andcommitted
Force build order of UpdateTargetPath.
Make UpdateTargetPath target run before GetTargetPath AND GetTargetPathWithTargetPlatformMoniker.
1 parent 11f0811 commit b41f052

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Build/NuGet.Build.Packaging.Tasks/NuGet.Build.Packaging.Authoring.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Copyright (c) .NET Foundation. All rights reserved.
6464
<!-- Just to make it easy for consumers to request the TargetPath as usual but get the
6565
actual package file, which contains the PackageVersion and will be dynamic therefore. -->
6666
<Target Name="UpdateTargetPath"
67-
BeforeTargets="GetTargetPath"
67+
BeforeTargets="GetTargetPath;GetTargetPathWithTargetPlatformMoniker"
6868
DependsOnTargets="GetPackageTargetPath">
6969
<PropertyGroup>
7070
<TargetPath>@(PackageTargetPath->'%(FullPath)')</TargetPath>

0 commit comments

Comments
 (0)