Skip to content

nativeaot failed on windows #29651

@ismlsmile

Description

@ismlsmile

Description

I used the built-in MAUI template in Visual Studio to create a default project, which ran successfully. Then I modified the project file by adding <PublishAot>true</PublishAot>. When I ran it again in Visual Studio, the following error occurred:
Message = "Argument 'source' is not a supported vector."

Steps to Reproduce

  1. Create a maui app
  2. add <PublishAot>true</PublishAot>

Link to public reproduction project repository

No response

Version with bug

9.0.70 SR7

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    t/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions