Skip to content

Expand AddPackageFixer to multiple packages #56092

Open
@captainsafia

Description

@captainsafia

#55963 introduces a codefixer that leverages the AspNetCorePackageInstall API to recommend that people install the Microsoft.AspNetCore.OpenApi package for invocations on its related extension methods.

We should expand this functionality to all packages that we ship out-of-band with the ASP.NET Core shared framework (Authentication-related packages).

Generalizing this implementation will require figuring out some way to scrape all extension methods on the repo and aggregating this data into a something we can funnel to the fixer.

Absent this, we can manually list out all the APIs and their associated packages explicitly (although we'll have to deal with some carpal tunnel after).

Metadata

Metadata

Assignees

No one assigned

    Labels

    analyzerIndicates an issue which is related to analyzer experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions