When Mmp is copying the files to the output bundle it should log the source and destination for each file copied, so people reading the MSBuild binlog can track down who copied the file.
I believe this logic is here:
https://github.com/xamarin/xamarin-macios/blob/a09a7d252352b207f794e7731d33b61667e34e13/tools/mmp/driver.cs#L1532-L1550
By default when MSBuild is copying files the convention is to use the Copying {0} to {1} message format (or Did not copy {0} to {1} because files sizes and timestamps matched).
It would be very helpful if we logged all file copies (including pdb, mdb, and config) using the above message format so one could just search the log for "Copying foo.dll" and find these. Right now it logs "Added assembly" and doesn't specify the destination path, so if you're searching for the destination path you won't find who logged it.
Additionally, we should consider switching Copied {0} to {1} to the same format ("Copying").
https://github.com/xamarin/xamarin-macios/blob/2b7dc07d20fc06344d7f164af8934f5e755572c2/tools/common/FileCopier.cs#L122
https://github.com/xamarin/xamarin-macios/blob/0924ce55efbd7170aa683ae9d4f694433a50b8d5/tools/common/Application.cs#L754
See also here:
https://github.com/xamarin/xamarin-macios/blob/a09a7d252352b207f794e7731d33b61667e34e13/tools/mmp/driver.cs#L1327
When Mmp is copying the files to the output bundle it should log the source and destination for each file copied, so people reading the MSBuild binlog can track down who copied the file.
I believe this logic is here:
https://github.com/xamarin/xamarin-macios/blob/a09a7d252352b207f794e7731d33b61667e34e13/tools/mmp/driver.cs#L1532-L1550
By default when MSBuild is copying files the convention is to use the
Copying {0} to {1}message format (orDid not copy {0} to {1} because files sizes and timestamps matched).It would be very helpful if we logged all file copies (including pdb, mdb, and config) using the above message format so one could just search the log for "Copying foo.dll" and find these. Right now it logs "Added assembly" and doesn't specify the destination path, so if you're searching for the destination path you won't find who logged it.
Additionally, we should consider switching
Copied {0} to {1}to the same format ("Copying").https://github.com/xamarin/xamarin-macios/blob/2b7dc07d20fc06344d7f164af8934f5e755572c2/tools/common/FileCopier.cs#L122
https://github.com/xamarin/xamarin-macios/blob/0924ce55efbd7170aa683ae9d4f694433a50b8d5/tools/common/Application.cs#L754
See also here:
https://github.com/xamarin/xamarin-macios/blob/a09a7d252352b207f794e7731d33b61667e34e13/tools/mmp/driver.cs#L1327