Skip to content

[area-Tools-ILLink]: ILLinker is failing when building a mac-catalyst app #110714

Closed
@pictos

Description

@pictos

Description

During the release build of the sample app of CommunityToolkit.Maui, for maccatalyst, the build breaks with a IL1012 error, and doesn't provide any helpful log message.

Reproduction Steps

  1. Checkout this repo https://github.com/CommunityToolkit/Maui/tree/feature/sl-dotnet-nine
  2. checkout at the feature/sl-dotnet-nine branch
  3. (IF you want you can remove other TFM and just build for macCatalyst)
  4. build the sample app on terminal dotnet build --no-incremental /bl -c Release
  5. see the error.

Expected behavior

The project builds.

Actual behavior

The build breaks.

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

msbuild.binlog.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Tools-ILLink.NET linker development as well as trimming analyzers

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions