Skip to content

EnableAotAnalyzer=true should also default EnableSingleFileAnalyzer=true #31284

@eerhardt

Description

@eerhardt

There are almost no situations where I want to enable the AOT analyzer, but don't also want the Single File analyzer. We should set EnableSingleFileAnalyzer=true by default when someone sets EnableAotAnalyzer=true.

In dotnet/aspnetcore we enabled the AOT analyzer, thinking that would be enough to catch NativeAOT warnings. But we didn't remember to enable the SingleFile analyzer, and thus warnings slipped through.

@vitek-karas @agocke @sbomer @MichalStrehovsky

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions