Skip to content

Removal of PlatformAbstractions package - #19010

Merged
gewarren merged 2 commits into
dotnet:release-5.0-preview-6from
gewarren:platformabstractions2
Jun 19, 2020
Merged

gewarren merged 2 commits into
dotnet:release-5.0-preview-6from
gewarren:platformabstractions2

Conversation

@gewarren

@gewarren gewarren commented Jun 19, 2020 •

Copy link
Copy Markdown
Collaborator

@gewarren
gewarren requested a review from a team as a code owner June 19, 2020 00:04
@dotnet-bot dotnet-bot added this to the June 2020 milestone Jun 19, 2020
@gewarren
gewarren requested a review from eerhardt June 19, 2020 00:18
@gewarren

Copy link
Copy Markdown
Collaborator Author

@eerhardt A couple items of note: I could not find the Environment.OSVersion.Version property that was mentioned in #18438. Instead, I referenced System.Environment.OSVersion. Is that correct? Also, most of the PlatformAbstractions APIs I found on the .NET API browser seem to be in a different namespace (Microsoft.Extensions.PlatformAbstractions). Is that the same thing?

@tdykstra tdykstra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, one nit suggestion.

@eerhardt eerhardt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I could not find the Environment.OSVersion.Version property that was mentioned in #18438. Instead, I referenced System.Environment.OSVersion. Is that correct?

Yes. System.Environment.OSVersion returns a System.OperatingSystem object, which has a Version property.

Also, most of the PlatformAbstractions APIs I found on the .NET API browser seem to be in a different namespace (Microsoft.Extensions.PlatformAbstractions). Is that the same thing?

No, unfortunately in the early days of .NET Core we had some package naming confusion, and this was one of them. (You can see a bit of that conversation here). Microsoft.Extensions.PlatformAbstractions is a different package, that is also no longer producing new versions.

@gewarren
gewarren merged commit 12487a4 into dotnet:release-5.0-preview-6 Jun 19, 2020
@gewarren
gewarren deleted the platformabstractions2 branch June 19, 2020 23:03
gewarren added a commit that referenced this pull request Jun 24, 2020
* Add ArgumentNullExceptions for Preview 6 (#18993)

* Removal of PlatformAbstractions package (#19010)

* Add WinRT removal breaking change (#19086)

* fixes #18875
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.

5 participants