Skip to content

Xamarin.Mac does not honor AOT options from IDE #3920

@chamons

Description

@chamons

@mykyta-bondarenko-gl Found a bug yesterday that was fixed in master as:

659a74c

but was fixed before the issue was actually filed. This is an after-the-fact issue for it, since it needs to be cherry picked to 15.7.

Xamarin.Mac currently accepts "mmp arguments" of "--aot=all|hybrid" in projects and AOTs, but if the project uses the IDE settings and generates project tags of AOTMode / HybridAOT they are ignored.

Steps to Reproduce

  1. Create a new XM Project.
  2. Enable AOT using the Mac Build pane.
  3. Build - No AOT :(

Expected Behavior

The two option paths to work identically.

Environment

master / stable both have issue.

VS bug #598586

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIf an issue is a bug or a pull request a bug fixmacOSIssues affecting macOSvs-sync*Only use when triaging (not before)* Syncs this bug with VSTS

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions