Skip to content

platform-exclusion.md: platform attributes should use Build not Version with Win10 - #170

Merged
terrajobst merged 1 commit into
mainfrom
antonfirsov/PlatformAttributes-Windows
Feb 24, 2021
Merged

platform-exclusion.md: platform attributes should use Build not Version with Win10#170
terrajobst merged 1 commit into
mainfrom
antonfirsov/PlatformAttributes-Windows

Conversation

@antonfirsov

@antonfirsov antonfirsov commented Dec 4, 2020

Copy link
Copy Markdown

According to our conceptual documentation we should use Build not Version, eg. windows10.0.18362 instead of windows10.0.1903, otherwise it would be inconsistent with TFM-s and capability checking API-s. Also note that Windows 10 versions are switching to new a scheme (20H2, 21H1 ...), which will make it impossible to use them with the attribute.

Despite the 3 reviewers (!), I almost made a mistake in dotnet/runtime#45494, which is probably the first PR in our libs using a specific version with SupportedOSPlatformAttribute. It was @filipnavara who spotted the mistake.

@buyaa-n @jeffhandley @terrajobst please confirm if this is correct, I need to be 100% sure before merging that PR.

@antonfirsov antonfirsov changed the title platform-exclusion.md: platform attributes should use Build not Version platform-exclusion.md: platform attributes should use Build not Version with Win10 Dec 4, 2020
@buyaa-n

buyaa-n commented Dec 4, 2020

Copy link
Copy Markdown
Contributor

please confirm if this is correct, I need to be 100% sure before merging that PR.

That is correct, it should be same what SDK uses

@buyaa-n
buyaa-n requested a review from terrajobst December 4, 2020 19:07
@terrajobst
terrajobst merged commit 9be2d2c into main Feb 24, 2021
@terrajobst
terrajobst deleted the antonfirsov/PlatformAttributes-Windows branch February 24, 2021 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants