Skip to content

Commit

Permalink
Don't use ResolvedPath metadata on ReferencePath
Browse files Browse the repository at this point in the history
This fixes a bug introduced by
dotnet/sdk#1857, which removes some metadata
from this ItemGroup.
  • Loading branch information
sbomer committed Jun 5, 2018
1 parent 3956054 commit ab9d7b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions corebuild/integration/ILLink.Tasks/ILLink.Tasks.targets
Original file line number Diff line number Diff line change
Expand Up @@ -343,14 +343,14 @@
implementation assembly, and prevent inclusion of the ref
assembly by filtering on filename instead of the full
path. -->
<FilterByMetadata Items="@(ReferencePath->'%(ResolvedPath)')"
<FilterByMetadata Items="@(ReferencePath)"
MetadataName="Filename"
MetadataValues="@(_ManagedAssembliesToLink->'%(Filename)')"
Condition=" '$(SelfContained)' != 'true' ">
<Output TaskParameter="FilteredItems" ItemName="_ReferencedLibrariesToExclude" />
</FilterByMetadata>
<ItemGroup Condition=" '$(SelfContained)' != 'true' ">
<_ReferencedLibraries Include="@(ReferencePath->'%(ResolvedPath)')" Exclude="@(_ReferencedLibrariesToExclude)" />
<_ReferencedLibraries Include="@(ReferencePath)" Exclude="@(_ReferencedLibrariesToExclude)" />
<_ManagedAssembliesToLink Include="@(_ReferencedLibraries)" />
</ItemGroup>

Expand Down

0 comments on commit ab9d7b7

Please sign in to comment.