Skip to content

CopyRefAssembly task should log the file copy #61383

@KirillOsenkov

Description

@KirillOsenkov

If the CopyRefAssembly task finds that the destination .dll has the same MVID as the source, it will helpfully log a message that the copy is skipped:

Log.LogMessageFromResources(MessageImportance.Low, "CopyRefAssembly_SkippingCopy1", DestinationPath);

However if it proceeds to copy the file over, it doesn't seem to log the message.

It would help for various analysis tools if it logged the same message as the MSBuild Copy task in case the file is copied:
"Copying ... to ..."
https://github.com/dotnet/msbuild/blob/e049bfe3dddb84270dec5fc1aaedc9664f77eb98/src/Tasks/Copy.cs#L303

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions