Skip to content

Unable to record custom aot profile. #10237

@sake402

Description

@sake402

Description

With a maui application dotnet build -t:BuildAndStartAotProfiling returns an error

Steps to Reproduce

dotnet add package Mono.AotProfiler.Android
dotnet build -t:BuildAndStartAotProfiling

Produces error

 error MSB4057: The target "BuildAndStartAotProfiling" does not exist in the project.

Link to public reproduction project repository

None

Version with bug

6.0.400

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 21

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-toolingXAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, DebuggingexternalpartnerIssue or Request from a partner teampartner/androidIssues for the Android SDKplatform/androidt/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions