-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SBRP] Use GenAPI to generate the targeting packs #4965
Comments
Definitely support this. I suspect we might have a few issues, but I think both @carlossanlop and @marklio have been doing some work that does run GenAPI through most framework API and rooting those issues out to fix them. I bet we're pretty close to being able to do this. |
I did a proof of concept to use GenAPI to replace the old asmmeta system in .NET Framework builds. Once we were satisfied that the proof of concept was feasible, I set it aside to focus on some other priorities. I will probably jump back on that in the next couple of months, but would gladly partner on investments in this space. Our main hurdles were integration into NetFX-based MSBuild environmments and filtering types/members to deal with the cycles in NetFX assembly reference graphs. |
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:
The text was updated successfully, but these errors were encountered: