Skip to content

Use consistent property for supported platforms #32023

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

Closed
wants to merge 1 commit into from

Conversation

JunTaoLuo
Copy link
Contributor

We talked about #31748 during our build triage and felt that we should have a consistent way of specifying supported platforms. Let's see if <RemoveDevicePlatformSupport>true</RemoveDevicePlatformSupport> achieves the same outcome. Verification pending.

@ghost ghost added the area-runtime label Apr 21, 2021
@JunTaoLuo JunTaoLuo requested a review from a team April 21, 2021 17:30
@@ -8,6 +8,7 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>CS1591;CS0436;$(NoWarn)</NoWarn><!-- Conflicts between internal and public Quic APIs -->
<Nullable>enable</Nullable>
<RemoveDevicePlatformSupport>true</RemoveDevicePlatformSupport>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this just remove ios and android?

If we're going to make any changes in this area, I think we should look at what Runtime does and copy them.

https://github.com/dotnet/runtime/blob/c7e02f3773da25946328eba150a70caa3b0e4c74/eng/versioning.targets#L53-L85
and a usage example
https://github.com/dotnet/runtime/blob/d4818a32f449fae16a5edd3c056ade56471f51ee/src/libraries/System.Net.Quic/Directory.Build.props#L6

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, I thought maybe that would be sufficient so I wanted to try it on the CI while I fix my machine. But looks like it's not sufficient.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dougbu
Copy link
Contributor

dougbu commented Apr 26, 2021

@JunTaoLuo this experiment didn't work. Suggest closing this PR.

@JunTaoLuo
Copy link
Contributor Author

Unlikely to make progress here in the short term. I'll file an infra issue to track.

@JunTaoLuo JunTaoLuo closed this May 14, 2021
@dougbu dougbu deleted the johluo/supported-platforms branch August 21, 2021 22:33
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants