Skip to content
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

Address and improve light-up scenarios for Windows APIs #832

Open
angelazhangmsft opened this issue Apr 30, 2021 · 0 comments
Open

Address and improve light-up scenarios for Windows APIs #832

angelazhangmsft opened this issue Apr 30, 2021 · 0 comments
Labels
enhancement New feature or request light-up Related to light-up/adaptive-code scenarios
Milestone

Comments

@angelazhangmsft
Copy link
Contributor

angelazhangmsft commented Apr 30, 2021

Background

With the new TFMs in .NET 5 and removal of winmd support, we need to clarify the story for light-up scenarios and how we advise both library and app developers to write adaptive code. The scenarios involve C# libraries and apps in .NET 5+ that want to call Windows SDK projection APIs (WinRT APIs).

We are proposing adding an analyzer for ApiInformation checks to protect light-up code.

We can use this deliverable-sized issue to track light-up support work.

Open Questions

  • .NET 5 library authors want to light-up with WinRT APIs, but this imposes a TFM requirement on customers (referencing applications)
  • Improve integration of ApiInformation checks with projected SupportedOSPlatform attributes from C#/WinRT, and improve guidance on using ApiInformation checks
  • Project SupportedOSPlatform attributes downlevel, e.g. Windows 8
  • Clarify combinations of the TFM, SupportedOSPlatformVersion, TPV/TPMV
  • Integration with Windows App SDK APIs
@angelazhangmsft angelazhangmsft added the enhancement New feature or request label Apr 30, 2021
@angelazhangmsft angelazhangmsft added this to the Future milestone May 20, 2021
@angelazhangmsft angelazhangmsft added the light-up Related to light-up/adaptive-code scenarios label Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request light-up Related to light-up/adaptive-code scenarios
Projects
None yet
Development

No branches or pull requests

1 participant