Skip to content

[SBRP] Use GenAPI to generate the targeting packs #4965

Open
@MichaelSimons

Description

@MichaelSimons

Currently the targeting packs are based on IL and utilize IlAsm/IlDasm for building/generating the source. In theory we could utilize GenAPI to generate the targeting packs into c# code.

There are unknowns if GenAPI is mature enough to handle shared framework assemblies. A POC would be needed to prove this out.

APICompat should help validate this change.

The benefits of this would be:

  1. Removing the IlAsm/IlDasm dependency. This adds additional bootstrap packages to the source build prep bootstrap process. e.g. this would help simplify the platform onboard process. This also unifies the build process between ref/targeting packs. Currently the targeting pack build infra is tied to Linux (see [SBRP] Support creating new reference packages from a Windows environment #3329)
  2. Consolidate the generate tooling to be based on one technology (e.g. GenAPI). Currently the targeting pack generator is not even in the public repo (see Move targeting package ILDasm tooling to public SBRP repo #3091)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status

      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions