Skip to content

Commit 0f23718

Browse files
committed
Fix build in VS
1 parent dcf5407 commit 0f23718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sdk/NpmPack.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module.exports = dlls;" />
7171
Condition="'%(_PackageFiles.Tools)' == 'true'" />
7272

7373
<AcgNpmPackageFiles Include="@(_PackageFiles)"
74-
PackagePath="$([System.IO.Path]::Combine('binaries', $([System.IO.Path]::GetRelativePath('$(TargetDir)', '%(_PackageFiles.Identity)'))))"
74+
PackagePath="$([System.IO.Path]::Combine('binaries', $([MSBuild]::MakeRelative('$([System.IO.Path]::GetFullPath($(TargetDir)))', '%(_PackageFiles.FullPath)'))))"
7575
Condition="'%(_PackageFiles.Tools)' == 'true' AND '%(_PackageFiles.FinalOutputPath)' == ''" />
7676
</ItemGroup>
7777
</Target>

0 commit comments

Comments
 (0)