Skip to content

Filtering MonoComponents when building remotely doesn't work #21244

Closed
@rolfbjarne

Description

@rolfbjarne

This code:

https://github.com/xamarin/xamarin-macios/blob/cfcfd42947c3b5d06b1351372c237e39a8b0f3e6/dotnet/targets/Xamarin.Shared.Sdk.targets#L459-L460

doesn't work when building remotely.

Example binlog output (binlog from #21142 (comment)):

Screenshot 2024-09-16 at 16 21 17

vs a build on macOS (locally by me):

Screenshot 2024-09-16 at 16 21 26

My initial unverified guess is because of the differences in the directory separator, but this needs verifying (preferably by a test).

Note that this doesn't seem to cause any problems, unless the customer explicitly asks us to pass -all_load to the native linker, in which the linker fails complaining about duplicate symbols.

Metadata

Metadata

Assignees

Labels

bugIf an issue is a bug or a pull request a bug fixwindows-onlyThe issue only occur on Windows

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions