Fix JoinItems namespace collision (#6302)
This commit is contained in:
parent
199e3f14a2
commit
7e0d6323d1
|
|
@ -168,14 +168,14 @@
|
||||||
<Move SourceFiles="%(SubmoduleGlobalJsonFiles.BackupPath)" DestinationFiles="%(SubmoduleGlobalJsonFiles.Identity)" Condition="Exists(%(SubmoduleGlobalJsonFiles.BackupPath))" />
|
<Move SourceFiles="%(SubmoduleGlobalJsonFiles.BackupPath)" DestinationFiles="%(SubmoduleGlobalJsonFiles.Identity)" Condition="Exists(%(SubmoduleGlobalJsonFiles.BackupPath))" />
|
||||||
|
|
||||||
<!-- Join required because shipping category is stored in artifact.props (PackageArtifact), but information about package ID and version comes from repos (ArtifactInfo). -->
|
<!-- Join required because shipping category is stored in artifact.props (PackageArtifact), but information about package ID and version comes from repos (ArtifactInfo). -->
|
||||||
<RepoTasks.JoinItems
|
<RepoTasks.JoinRepoItems
|
||||||
Left="@(_Temp)"
|
Left="@(_Temp)"
|
||||||
LeftMetadata="*"
|
LeftMetadata="*"
|
||||||
Right="@(ArtifactInfo->WithMetadataValue('ArtifactType','NuGetPackage'));@(ShippedArtifactInfo->WithMetadataValue('ArtifactType','NuGetPackage'))"
|
Right="@(ArtifactInfo->WithMetadataValue('ArtifactType','NuGetPackage'));@(ShippedArtifactInfo->WithMetadataValue('ArtifactType','NuGetPackage'))"
|
||||||
RightKey="PackageId"
|
RightKey="PackageId"
|
||||||
RightMetadata="Version">
|
RightMetadata="Version">
|
||||||
<Output TaskParameter="JoinResult" ItemName="PackageArtifact" />
|
<Output TaskParameter="JoinResult" ItemName="PackageArtifact" />
|
||||||
</RepoTasks.JoinItems>
|
</RepoTasks.JoinRepoItems>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<_PackageArtifactWithoutMatchingInfo Include="@(_Temp)" Exclude="@(PackageArtifact)" />
|
<_PackageArtifactWithoutMatchingInfo Include="@(_Temp)" Exclude="@(PackageArtifact)" />
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ using Microsoft.Build.Utilities;
|
||||||
|
|
||||||
namespace RepoTasks
|
namespace RepoTasks
|
||||||
{
|
{
|
||||||
public class JoinItems : Task
|
public class JoinRepoItems : Task
|
||||||
{
|
{
|
||||||
[Required]
|
[Required]
|
||||||
public ITaskItem[] Left { get; set; }
|
public ITaskItem[] Left { get; set; }
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<UsingTask TaskName="RepoTasks.GenerateRestoreSourcesPropsFile" AssemblyFile="$(_RepoTaskAssembly)" />
|
<UsingTask TaskName="RepoTasks.GenerateRestoreSourcesPropsFile" AssemblyFile="$(_RepoTaskAssembly)" />
|
||||||
<UsingTask TaskName="RepoTasks.GenerateGuid" AssemblyFile="$(_RepoTaskAssembly)" />
|
<UsingTask TaskName="RepoTasks.GenerateGuid" AssemblyFile="$(_RepoTaskAssembly)" />
|
||||||
<UsingTask TaskName="RepoTasks.GetMsiProperty" AssemblyFile="$(_RepoTaskAssembly)" />
|
<UsingTask TaskName="RepoTasks.GetMsiProperty" AssemblyFile="$(_RepoTaskAssembly)" />
|
||||||
<UsingTask TaskName="RepoTasks.JoinItems" AssemblyFile="$(_RepoTaskAssembly)" />
|
<UsingTask TaskName="RepoTasks.JoinRepoItems" AssemblyFile="$(_RepoTaskAssembly)" />
|
||||||
<UsingTask TaskName="RepoTasks.OrderBy" AssemblyFile="$(_RepoTaskAssembly)" />
|
<UsingTask TaskName="RepoTasks.OrderBy" AssemblyFile="$(_RepoTaskAssembly)" />
|
||||||
<UsingTask TaskName="RepoTasks.GenerateSharedFrameworkMetadataFiles" AssemblyFile="$(_RepoTaskAssembly)" />
|
<UsingTask TaskName="RepoTasks.GenerateSharedFrameworkMetadataFiles" AssemblyFile="$(_RepoTaskAssembly)" />
|
||||||
<UsingTask TaskName="RepoTasks.PublishToAzureBlob" AssemblyFile="$(_RepoTaskAssembly)" />
|
<UsingTask TaskName="RepoTasks.PublishToAzureBlob" AssemblyFile="$(_RepoTaskAssembly)" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue