Skip to content

Commit

Permalink
Persist original paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Aug 31, 2023
1 parent 4e9f6ab commit c1bd08d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/IKVM.Core.MSBuild/targets/PublishProjectReference.targets
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@
<Target Name="GetPublishProjectReferenceOutputItems" DependsOnTargets="$(GetPublishProjectReferenceOutputItemsDependsOn)" BeforeTargets="_GetPackageFiles" Inputs="@(_PublishProjectReferenceItems)" Outputs="%(_PublishProjectReferenceItems.PublishIdentity)\%(_PublishProjectReferenceItems._Index)\%(_PublishProjectReferenceItems.PublishItemGroup)\null" Condition=" '$(DesignTimeBuild)' != 'true' And '@(_PublishProjectReferenceItems)' != '' ">
<ItemGroup>
<_PublishProjectItems Include="@(_PublishProjectReferenceItems)">
<OriginalTargetPath>%(_PublishProjectReferenceItems.TargetPath)</OriginalTargetPath>
<OriginalPackagePath>%(_PublishProjectReferenceItems.PackagePath)</OriginalPackagePath>
<TargetPath Condition=" '%(_PublishProjectReferenceItems.PublishTargetPath)' == '' "></TargetPath>
<TargetPath Condition=" '%(_PublishProjectReferenceItems.PublishTargetPath)' != '' ">$([MSBuild]::MakeRelative('.', '%(_PublishProjectReferenceItems.PublishTargetPath)%(_PublishProjectReferenceItems.TargetPath)'))</TargetPath>
<PackagePath Condition=" '%(_PublishProjectReferenceItems.PublishPackagePath)' == '' "></PackagePath>
Expand Down

0 comments on commit c1bd08d

Please sign in to comment.