Repository navigation
Removal of PlatformAbstractions package - #19010
Conversation
|
@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
left a comment
There was a problem hiding this comment.
LGTM, one nit suggestion.
Co-authored-by: Tom Dykstra <[email protected]>
eerhardt
left a comment
There was a problem hiding this comment.
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.
Fixes #18438.
Preview link.