Skip to content

Resolve publish file conflicts after _ResolvedCopyLocalPublishAssets has been merged into ResolvedFileToPublish #14422

@dsplaisted

Description

@dsplaisted

#14020 fixes an issue where we can have duplicate files copied to the publish output.

The reason this was happening is because we have two item types for files that will be published: _ResolvedCopyLocalPublishAssets and ResolvedFileToPublish. We merge _ResolvedCopyLocalPublishAssets into ResolvedFileToPublish in the ComputeResolvedFilesToPublishList target, after we have already run conflict resolution on _ResolvedCopyLocalPublishAssets.

#14020 currently fixes this by adding another conflict resolution pass that looks at both time types. However, it would probably be better to run conflict resolution just once, after the item types have been merged.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions