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

MTP should be built with SupportedPlatform items for Android, iOS, Browser #5039

Open
1 of 3 tasks
Youssef1313 opened this issue Feb 17, 2025 · 0 comments
Open
1 of 3 tasks
Labels
Area: MTP Belongs to the Microsoft.Testing.Platform core library

Comments

@Youssef1313
Copy link
Member

Youssef1313 commented Feb 17, 2025

We should have the following when building on MTP so that we get warnings from unsupported APIs and we explicitly decide how to handle for the unsupported platform

  <ItemGroup>
    <SupportedPlatform Include="android" />
    <SupportedPlatform Include="ios" />
    <SupportedPlatform Include="browser" />
  </ItemGroup>
  • Start by core platform, and suppress the warnings
  • Gradually work on fixing the warnings (search for CA1416 in the codebase to find suppressions)
  • Repeat for extensions gradually
@Youssef1313 Youssef1313 added the Area: MTP Belongs to the Microsoft.Testing.Platform core library label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: MTP Belongs to the Microsoft.Testing.Platform core library
Projects
None yet
Development

No branches or pull requests

1 participant