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>